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
Theme override 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/
themes/ stable9/ templates/ block/ block--system-messages-block.html.twig
View source
- {#
- /**
- * @file
- * Theme override 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.
- */
- #}
- {{ content }}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.