description.html.twig
Same filename in this branch
- 8.x-1.x form_api_example/templates/description.html.twig
- 8.x-1.x js_example/templates/description.html.twig
- 8.x-1.x page_example/templates/description.html.twig
- 8.x-1.x node_type_example/templates/description.html.twig
- 8.x-1.x pager_example/templates/description.html.twig
- 8.x-1.x block_example/templates/description.html.twig
- 8.x-1.x tabledrag_example/templates/description.html.twig
- 8.x-1.x testing_example/templates/description.html.twig
- 8.x-1.x tour_example/templates/description.html.twig
- 8.x-1.x config_entity_example/templates/description.html.twig
- 8.x-1.x tests/modules/examples_description_test/templates/description.html.twig
- 8.x-1.x phpunit_example/templates/description.html.twig
- 8.x-1.x render_example/templates/description.html.twig
- 8.x-1.x field_permission_example/templates/description.html.twig
- 8.x-1.x stream_wrapper_example/templates/description.html.twig
- 8.x-1.x ajax_example/templates/description.html.twig
- 8.x-1.x hooks_example/templates/description.html.twig
- 8.x-1.x field_example/templates/description.html.twig
Same filename in other branches
- 3.x modules/menu_example/templates/description.html.twig
- 3.x modules/form_api_example/templates/description.html.twig
- 3.x modules/js_example/templates/description.html.twig
- 3.x modules/page_example/templates/description.html.twig
- 3.x modules/node_type_example/templates/description.html.twig
- 3.x modules/pager_example/templates/description.html.twig
- 3.x modules/block_example/templates/description.html.twig
- 3.x modules/tabledrag_example/templates/description.html.twig
- 3.x modules/rest_example/templates/description.html.twig
- 3.x modules/testing_example/templates/description.html.twig
- 3.x modules/tour_example/templates/description.html.twig
- 3.x modules/config_entity_example/templates/description.html.twig
- 3.x modules/phpunit_example/templates/description.html.twig
- 3.x modules/render_example/templates/description.html.twig
- 3.x modules/field_permission_example/templates/description.html.twig
- 3.x modules/stream_wrapper_example/templates/description.html.twig
- 3.x modules/ajax_example/templates/description.html.twig
- 3.x modules/hooks_example/templates/description.html.twig
- 3.x modules/field_example/templates/description.html.twig
- 3.x tests/modules/examples_description_test/templates/description.html.twig
- 4.0.x modules/menu_example/templates/description.html.twig
- 4.0.x modules/form_api_example/templates/description.html.twig
- 4.0.x modules/js_example/templates/description.html.twig
- 4.0.x modules/page_example/templates/description.html.twig
- 4.0.x modules/node_type_example/templates/description.html.twig
- 4.0.x modules/pager_example/templates/description.html.twig
- 4.0.x modules/block_example/templates/description.html.twig
- 4.0.x modules/tabledrag_example/templates/description.html.twig
- 4.0.x modules/rest_example/templates/description.html.twig
- 4.0.x modules/testing_example/templates/description.html.twig
- 4.0.x modules/tour_example/templates/description.html.twig
- 4.0.x modules/config_entity_example/templates/description.html.twig
- 4.0.x modules/phpunit_example/templates/description.html.twig
- 4.0.x modules/render_example/templates/description.html.twig
- 4.0.x modules/field_permission_example/templates/description.html.twig
- 4.0.x modules/stream_wrapper_example/templates/description.html.twig
- 4.0.x modules/ajax_example/templates/description.html.twig
- 4.0.x modules/hooks_example/templates/description.html.twig
- 4.0.x modules/field_example/templates/description.html.twig
- 4.0.x tests/modules/examples_description_test/templates/description.html.twig
- 4.0.x modules/config_simple_example/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 %}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!
- Custom Access Example
- Permissioned Example
- Route only example
- Tabs
- URL Arguments
- Dynamic title
- Placeholder Arguments
- Path Override
File
-
menu_example/
templates/ description.html.twig
View source
- {#
-
- 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 %}