simple-dialog-link.html.twig in Simple Dialog 8
Default theme implementation to print a simple dialog link
Available variables:
- text: The link text for the anchor tag.
- path: The URL to pull the dialog contents from.
- attributes: The attributes for the link compiled in a preprocessor
See also
1 theme call to simple-dialog-link.html.twig
- SimpleDialogExampleController::examplesPageContent in simple_dialog_example/
lib/ Drupal/ simple_dialog_example/ Controller/ SimpleDialogExampleController.php - @todo - Render from twig template diretly?
File
templates/simple-dialog-link.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to print a simple dialog link
- *
- * Available variables:
- * - text: The link text for the anchor tag.
- * - path: The URL to pull the dialog contents from.
- * - attributes: The attributes for the link compiled in a preprocessor
- *
- * @see template_preprocess_simple_dialog_link()
- *
- * @ingroup themeable
- */
- #}
- <a href="{{ path }}" {{ attributes }}>{{ text }}</a>