token-tree-link.html.twig 391 B

12345678910111213141516171819
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the token tree link.
  5. *
  6. * Available variables:
  7. * - url: The URL to the token tree page.
  8. * - text: The text to be displayed in the link.
  9. * - attributes: Attributes for the anchor tag.
  10. * - link: The complete link.
  11. *
  12. * @see template_preprocess_token_tree_link()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {% if link -%}
  18. {{ link }}
  19. {%- endif %}