W3cubDocs

/Drupal 8

admin-block.html.twig

Default theme implementation for an administrative block.

Available variables:

  • block: An array of information about the block, including:
    • show: A flag indicating if the block should be displayed.
    • title: The block title.
    • content: (optional) The content of the block.
    • description: (optional) A description of the block. (Description should only be output if content is not available).

File

core/modules/system/templates/admin-block.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.html.twig/8.1.x