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