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
- {#
- /**
- * @file
- * Default theme implementation to display messages in the navigation toolbar.
- *
- * Available variables:
- * - messages: An array containing the messages to display.
- *
- * @ingroup themeable
- */
- #}
- {{ attach_library('navigation/internal.navigation-messages') }}
- <div class="toolbar-block__list">
- {% for message in message_list %}
- {{ message }}
- {% endfor %}
- </div>
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.