You are here

block_example.routing.yml in Examples for Developers 3.x

modules/block_example/block_example.routing.yml

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'