menu-local-task.html.twig
Default theme implementation for a local task link.
Available variables:
- attributes: HTML attributes for the wrapper element.
- is_active: Whether the task item is an active tab.
- link: A rendered link element.
Note: This template renders the content for each task item in menu-local-tasks.html.twig.
See also
template_preprocess_menu_local_task()
File
core/modules/system/templates/menu-local-task.html.twigRelated topics
- Theme system overview
- Functions and templates for the user interface that themes can override.
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!system!templates!menu-local-task.html.twig/8.1.x