You are here

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

Default theme implementation for a single local action link.

Available variables:

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

File

core/modules/system/templates/menu-local-action.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation 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. * @ingroup themeable
  13. */
  14. #}
  15. <li{{ attributes }}>{{ link }}</li>

Related topics