render_example.routing.yml

Same filename in other branches
  1. 4.0.x modules/render_example/render_example.routing.yml
modules/render_example/render_example.routing.yml
4 string references to YAML keys in render_example.routing.yml
RenderExampleTest::testRenderExample in modules/render_example/tests/src/Functional/RenderExampleTest.php
Functional tests of the pages we made.
render_example_preprocess_block in modules/render_example/render_example.module
Implements hook_preprocess_block().
render_example_preprocess_page in modules/render_example/render_example.module
Implements hook_preprocess_page().
_examples_toolbar_routes in ./examples.module
Get a list of toolbar links to provide.

File

modules/render_example/render_example.routing.yml

View source
  1. render_example.description:
  2. path: '/examples/render-example'
  3. defaults:
  4. _controller: '\Drupal\render_example\Controller\RenderExampleController::description'
  5. requirements:
  6. _permission: 'access content'
  7. render_example.altering:
  8. path: '/examples/render-example/altering'
  9. defaults:
  10. _form: '\Drupal\render_example\Form\RenderExampleDemoForm'
  11. _title: 'Alter pages and blocks'
  12. requirements:
  13. _permission: 'access content'
  14. render_example.arrays:
  15. path: '/examples/render-example/arrays'
  16. defaults:
  17. _controller: '\Drupal\render_example\Controller\RenderExampleController::arrays'
  18. requirements:
  19. _permission: 'access content'