block--system-messages-block.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/block/block--system-messages-block.html.twig
- 9 core/themes/stable/templates/block/block--system-messages-block.html.twig
- 9 core/modules/system/templates/block--system-messages-block.html.twig
- 8.9.x core/themes/stable/templates/block/block--system-messages-block.html.twig
- 8.9.x core/modules/system/templates/block--system-messages-block.html.twig
- 11.x core/themes/stable9/templates/block/block--system-messages-block.html.twig
- 11.x core/modules/system/templates/block--system-messages-block.html.twig
Default theme implementation for the messages block.
Removes wrapper elements from block so that empty block does not appear when there are no messages.
Available variables:
- content: The content of this block.
File
-
core/
modules/ system/ templates/ block--system-messages-block.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for the messages block.
- *
- * Removes wrapper elements from block so that empty block does not appear when
- * there are no messages.
- *
- * Available variables:
- * - content: The content of this block.
- *
- * @ingroup themeable
- */
- #}
- {{ content }}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.