block_example.routing.yml in Examples for Developers 3.x
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 to provide.
File
modules/block_example/block_example.routing.ymlView source
- block_example.description:
- path: '/examples/block-example'
- defaults:
- _controller: '\Drupal\block_example\Controller\BlockExampleController::description'
- _title: 'Block Example'
- requirements:
- _permission: 'access content'