block--system-messages-block.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
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/stable/templates/block/block--system-messages-block.html.twigView 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 }}