block--system-messages-block.html.twig
Same filename in this branch
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
- Theme system overview
- Functions and templates for the user interface that themes can override.