You are here

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

File

templates/simple-dialog-link.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to print a simple dialog link
  5. *
  6. * Available variables:
  7. * - text: The link text for the anchor tag.
  8. * - path: The URL to pull the dialog contents from.
  9. * - attributes: The attributes for the link compiled in a preprocessor
  10. *
  11. * @see template_preprocess_simple_dialog_link()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. <a href="{{ path }}" {{ attributes }}>{{ text }}</a>