node_type_example.routing.yml

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

File

node_type_example/node_type_example.routing.yml

View source
  1. config_node_type_example.description:
  2. path: '/examples/node-type-example'
  3. defaults:
  4. _controller: '\Drupal\node_type_example\Controller\NodeTypeExampleController::description'
  5. requirements:
  6. _permission: 'access content'