plugin_type_example.routing.yml

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

File

modules/plugin_type_example/plugin_type_example.routing.yml

View source
  1. # This defines our example page's path to the routing system.
  2. plugin_type_example.description:
  3. path: '/examples/plugin-type-example'
  4. defaults:
  5. _controller: '\Drupal\plugin_type_example\Controller\PluginTypeExampleController::description'
  6. _title: 'Plugin Type Example'
  7. requirements:
  8. _permission: 'access content'