You are here

block--system-messages-block.html.twig in Drupal 10

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
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the messages block.
  5. *
  6. * Removes wrapper elements from block so that empty block does not appear when
  7. * there are no messages.
  8. *
  9. * Available variables:
  10. * - content: The content of this block.
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {{ content }}

Related topics