navigation-content-top.html.twig
Default theme implementation to display the navigation content_top section.
Available variables:
- items: An associative array of renderable elements to display in the content_top section.
1 theme call to navigation-content-top.html.twig
- NavigationRenderer::getContentTop in core/
modules/ navigation/ src/ NavigationRenderer.php - Gets the content for content_top section.
File
-
core/
modules/ navigation/ templates/ navigation-content-top.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation to display the navigation content_top section.
- *
- * Available variables:
- * - items: An associative array of renderable elements to display in the
- * content_top section.
- *
- * @ingroup themeable
- */
- #}
- {% if items is not empty %}
- <div class="admin-toolbar__content-top">
- {{ items }}
- </div>
- {% endif %}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.