You are here

token-tree-link.html.twig in Token 8

Default theme implementation for the token tree link.

Available variables:

  • url: The URL to the token tree page.
  • text: The text to be displayed in the link.
  • attributes: Attributes for the anchor tag.
  • link: The complete link.

File

templates/token-tree-link.html.twig
View source
  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 %}