description.html.twig

Same filename in this branch
  1. 4.0.x modules/form_api_example/templates/description.html.twig
  2. 4.0.x modules/js_example/templates/description.html.twig
  3. 4.0.x modules/page_example/templates/description.html.twig
  4. 4.0.x modules/node_type_example/templates/description.html.twig
  5. 4.0.x modules/pager_example/templates/description.html.twig
  6. 4.0.x modules/block_example/templates/description.html.twig
  7. 4.0.x modules/tabledrag_example/templates/description.html.twig
  8. 4.0.x modules/rest_example/templates/description.html.twig
  9. 4.0.x modules/testing_example/templates/description.html.twig
  10. 4.0.x modules/tour_example/templates/description.html.twig
  11. 4.0.x modules/config_entity_example/templates/description.html.twig
  12. 4.0.x modules/phpunit_example/templates/description.html.twig
  13. 4.0.x modules/render_example/templates/description.html.twig
  14. 4.0.x modules/field_permission_example/templates/description.html.twig
  15. 4.0.x modules/stream_wrapper_example/templates/description.html.twig
  16. 4.0.x modules/ajax_example/templates/description.html.twig
  17. 4.0.x modules/hooks_example/templates/description.html.twig
  18. 4.0.x modules/field_example/templates/description.html.twig
  19. 4.0.x tests/modules/examples_description_test/templates/description.html.twig
Same filename in other branches
  1. 3.x modules/menu_example/templates/description.html.twig
  2. 3.x modules/form_api_example/templates/description.html.twig
  3. 3.x modules/js_example/templates/description.html.twig
  4. 3.x modules/page_example/templates/description.html.twig
  5. 3.x modules/node_type_example/templates/description.html.twig
  6. 3.x modules/pager_example/templates/description.html.twig
  7. 3.x modules/block_example/templates/description.html.twig
  8. 3.x modules/tabledrag_example/templates/description.html.twig
  9. 3.x modules/rest_example/templates/description.html.twig
  10. 3.x modules/testing_example/templates/description.html.twig
  11. 3.x modules/tour_example/templates/description.html.twig
  12. 3.x modules/config_entity_example/templates/description.html.twig
  13. 3.x modules/phpunit_example/templates/description.html.twig
  14. 3.x modules/render_example/templates/description.html.twig
  15. 3.x modules/field_permission_example/templates/description.html.twig
  16. 3.x modules/stream_wrapper_example/templates/description.html.twig
  17. 3.x modules/ajax_example/templates/description.html.twig
  18. 3.x modules/hooks_example/templates/description.html.twig
  19. 3.x modules/field_example/templates/description.html.twig
  20. 3.x tests/modules/examples_description_test/templates/description.html.twig
{#

Description text for the Menu Example.

#}

{% set custom_access = path('examples.menu_example.custom_access') %}
{% set permissioned = path('examples.menu_example.permissioned') %}
{% set route_only = path('examples.menu_example.route_only') %}
{% set tabs = path('examples.menu_example.tabs') %}
{% set use_url_arguments = path('examples.menu_example.use_url_arguments') %}
{% set title_callbacks = path('examples.menu_example.title_callbacks') %}
{% set placeholder_argument = path('examples.menu_example.placeholder_argument') %}
{% set path_override = path('example.menu_example.path_override') %}

{% trans %}

<p>This page is displayed by the simplest (and base) menu example. Note that
the title of the page is the same as the link title. There are a number of
examples here, from the most basic (like this one) to extravagant mappings of
loaded placeholder arguments. Enjoy!</p>

<ul>
    <li><a href={{ custom_access }}>Custom Access Example</a></li>
    <li><a href={{ permissioned }}>Permissioned Example</a></li>
    <li><a href={{ route_only }}>Route only example</a></li>
    <li><a href={{ tabs }}>Tabs</a></li>
    <li><a href={{ use_url_arguments }}>URL Arguments</a></li>
    <li><a href={{ title_callbacks }}>Dynamic title</a></li>
    <li><a href={{ placeholder_argument }}>Placeholder Arguments</a></li>
    <li><a href={{ path_override }}>Path Override</a></li>
</ul>

{% endtrans %}

File

modules/menu_example/templates/description.html.twig

View source
  1. {#
  2. Description text for the Menu Example.
  3. #}
  4. {% set custom_access = path('examples.menu_example.custom_access') %}
  5. {% set permissioned = path('examples.menu_example.permissioned') %}
  6. {% set route_only = path('examples.menu_example.route_only') %}
  7. {% set tabs = path('examples.menu_example.tabs') %}
  8. {% set use_url_arguments = path('examples.menu_example.use_url_arguments') %}
  9. {% set title_callbacks = path('examples.menu_example.title_callbacks') %}
  10. {% set placeholder_argument = path('examples.menu_example.placeholder_argument') %}
  11. {% set path_override = path('example.menu_example.path_override') %}
  12. {% trans %}
  13. <p>This page is displayed by the simplest (and base) menu example. Note that
  14. the title of the page is the same as the link title. There are a number of
  15. examples here, from the most basic (like this one) to extravagant mappings of
  16. loaded placeholder arguments. Enjoy!</p>
  17. <ul>
  18. <li><a href={{ custom_access }}>Custom Access Example</a></li>
  19. <li><a href={{ permissioned }}>Permissioned Example</a></li>
  20. <li><a href={{ route_only }}>Route only example</a></li>
  21. <li><a href={{ tabs }}>Tabs</a></li>
  22. <li><a href={{ use_url_arguments }}>URL Arguments</a></li>
  23. <li><a href={{ title_callbacks }}>Dynamic title</a></li>
  24. <li><a href={{ placeholder_argument }}>Placeholder Arguments</a></li>
  25. <li><a href={{ path_override }}>Path Override</a></li>
  26. </ul>
  27. {% endtrans %}