You are here

menu-local-action.html.twig in Drupal 10

Theme override for a single local action link.

Available variables:

  • attributes: HTML attributes for the wrapper element.
  • link: A rendered link element.

File

core/themes/stable9/templates/navigation/menu-local-action.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a single local action link.
  5. *
  6. * Available variables:
  7. * - attributes: HTML attributes for the wrapper element.
  8. * - link: A rendered link element.
  9. *
  10. * @see template_preprocess_menu_local_action()
  11. */
  12. #}
  13. <li{{ attributes }}>{{ link }}</li>