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.
See also
4 theme calls to token-tree-link.html.twig
- token_form_action_form_alter in ./
token.module - Implements hook_form_BASE_FORM_ID_alter().
- token_form_block_form_alter in ./
token.module - Implements hook_form_FORM_ID_alter().
- token_form_field_config_edit_form_alter in ./
token.module - Implements hook_form_FORM_ID_alter().
- token_form_user_admin_settings_alter in ./
token.module - Implements hook_form_FORM_ID_alter().
File
templates/token-tree-link.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- * @see template_preprocess_token_tree_link()
- *
- * @ingroup themeable
- */
- #}
- {% if link -%}
- {{ link }}
- {%- endif %}