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/olivero/templates/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. * @ingroup themeable
  13. */
  14. #}
  15. {{ attach_library('olivero/local-actions') }}
  16. <li{{ attributes }} class="action-links-item">{{ link }}</li>

Related topics