navigation--messages.html.twig

Default theme implementation to display messages in the navigation toolbar.

Available variables:

  • messages: An array containing the messages to display.
1 theme call to navigation--messages.html.twig
DemoUmamiHooks::navigationContentTop in core/profiles/demo_umami/src/Hook/DemoUmamiHooks.php
Implements hook_navigation_content_top().

File

core/modules/navigation/templates/navigation--messages.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display messages in the navigation toolbar.
  5. *
  6. * Available variables:
  7. * - messages: An array containing the messages to display.
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. {{ attach_library('navigation/internal.navigation-messages') }}
  13. <div class="toolbar-block__list">
  14. {% for message in message_list %}
  15. {{ message }}
  16. {% endfor %}
  17. </div>

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.