top-bar-local-task.html.twig
Same filename in other branches
Default theme implementation for a single navigation top bar local task.
Available variables:
- link: Link render element.
1 theme call to top-bar-local-task.html.twig
- NavigationRenderer::getLocalTasks in core/
modules/ navigation/ src/ NavigationRenderer.php - Local tasks list based on user access.
File
-
core/
modules/ navigation/ templates/ top-bar-local-task.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for a single navigation top bar local task.
- *
- * 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.