W3cubDocs

/Drupal 8

admin-block-content.html.twig

Default theme implementation for the content of an administrative block.

Available variables:

  • content: A list containing information about the block. Each element of the array represents an administrative menu item, and must at least contain the keys 'title', 'link_path', and 'localized_options', which are passed to l(). A 'description' key may also be provided.
  • attributes: HTML attributes to be added to the element.
  • compact: Boolean indicating whether compact mode is turned on or not.

See also

template_preprocess_admin_block_content()

File

core/modules/system/templates/admin-block-content.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!system!templates!admin-block-content.html.twig/8.1.x