You are here

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

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.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  13. {{ content }}