You are here

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

modules/plugin_type_example/plugin_type_example.routing.yml

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'