top-bar-page-action.html.twig
Default theme implementation for a single navigation top bar page action.
Available variables:
- link: Link render element.
2 theme calls to top-bar-page-action.html.twig
- NavigationRenderer::getLocalTasks in core/
modules/ navigation/ src/ NavigationRenderer.php - Local tasks list based on user access.
- TopBarItemLinkAttribute::build in core/
modules/ navigation/ tests/ navigation_test_top_bar/ src/ Plugin/ TopBarItem/ TopBarItemLinkAttribute.php
File
-
core/
themes/ stable9/ templates/ navigation/ top-bar-page-action.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for a single navigation top bar page action.
- *
- * Available variables:
- * - link: Link render element.
- */
- #}
- <li class="toolbar-dropdown__item">
- {{ link|add_class('toolbar-dropdown__link') }}
- </li>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.