pager_example.routing.yml

Same filename in other branches
  1. 4.0.x modules/pager_example/pager_example.routing.yml
modules/pager_example/pager_example.routing.yml
1 string reference to YAML keys in pager_example.routing.yml
_examples_toolbar_routes in ./examples.module
Get a list of toolbar links to provide.

File

modules/pager_example/pager_example.routing.yml

View source
  1. pager_example.page:
  2. path: '/examples/pager-example'
  3. defaults:
  4. _title: 'Pager Example'
  5. _controller: '\Drupal\pager_example\Controller\PagerExamplePage::getContent'
  6. requirements:
  7. _permission: 'access content'