description.html.twig

{*

Description template test example.

This is a test template that demonstrates how an Examples module can
implement its description controller by using a Twig template.

*}

<!-
Template loaded!
-->

{% trans %}

<h2>Sample Description</h2>

<p>Here is a sample description.  It embeds some Twig variables.</p>

<ol>
    <li>Used in module: {{ module }}.</li>
    <li>Our slogan for today: {{slogan}}.</li>
</ol>

{% endtrans %}

File

tests/modules/examples_description_test/templates/description.html.twig

View source
  1. {*
  2. Description template test example.
  3. This is a test template that demonstrates how an Examples module can
  4. implement its description controller by using a Twig template.
  5. *}
  6. <!-
  7. Template loaded!
  8. -->
  9. {% trans %}
  10. <h2>Sample Description</h2>
  11. <p>Here is a sample description. It embeds some Twig variables.</p>
  12. <ol>
  13. <li>Used in module: {{ module }}.</li>
  14. <li>Our slogan for today: {{slogan}}.</li>
  15. </ol>
  16. {% endtrans %}