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
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the navigation content_top section.
  5. *
  6. * Available variables:
  7. * - items: An associative array of renderable elements to display in the
  8. * content_top section.
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. {% if items is not empty %}
  14. <div class="admin-toolbar__content-top">
  15. {{ items }}
  16. </div>
  17. {% endif %}

Related topics


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