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.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.
doc_Drupal
2016-10-29 09:25:59
Comments
Leave a Comment

Please login to continue.