block_example.routing.yml

Same filename in other branches
  1. 3.x modules/block_example/block_example.routing.yml
  2. 8.x-1.x block_example/block_example.routing.yml
modules/block_example/block_example.routing.yml
1 string reference to YAML keys in block_example.routing.yml
_examples_toolbar_routes in ./examples.module
Get a list of toolbar links for testing toolbar routes.

File

modules/block_example/block_example.routing.yml

View source
  1. block_example.description:
  2. path: '/examples/block-example'
  3. defaults:
  4. _controller: '\Drupal\block_example\Controller\BlockExampleController::description'
  5. _title: 'Block Example'
  6. requirements:
  7. _permission: 'access content'