description.html.twig

Contains the text of the page_example explanation page

File

modules/page_example/templates/description.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Contains the text of the page_example explanation page
  5. */
  6. #}
  7. {% set page_example_simple = path('page_example.simple') %}
  8. {% set page_example_arguments = path('page_example.arguments', {'first': 23, 'second': 56}) %}
  9. {% trans %}
  10. <p>The Page example module provides two pages, "simple" and "arguments".</p>
  11. <p>The <a href={{ page_example_simple }}>simple page</a> just returns a renderable array for display.</p>
  12. <p>The <a href={{ page_example_arguments }}>arguments page</a> takes two arguments and displays them, as in {{ page_example_arguments }}</p>
  13. {% endtrans %}