description.html.twig
Same filename in this branch
- 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/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
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
- 8.x-1.x menu_example/templates/description.html.twig
- 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
Default theme implementation for the JavaScript Example module's description.
File
-
modules/
js_example/ templates/ description.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for the JavaScript Example module's description.
- */
- #}
-
- {% set js_colors = path('js_example.colors') %}
- {% set js_accordion = path('js_example.accordion') %}
-
- {% trans %}
-
- <p>Drupal includes jQuery and jQuery UI.</p>
-
- <p>We have two examples of using these:</p>
-
- <ol>
- <li>
- <p><a href={{ js_accordion }}>An accordion-style section reveal effect</a>:
- This demonstrates calling a JavaScript function using Drupal rendering
- system.
- </li>
- <li>
- <p><a href={{ js_colors }}>Sorting according to numeric weight</a>: This
- demonstrates attaching your own JavaScript code to individual page
- elements using Drupal rendering system.</p>
- </li>
- </ol>
-
- {% endtrans %}