You are here

events_example.routing.yml in Examples for Developers 8

events_example/events_example.routing.yml

File

events_example/events_example.routing.yml
View source
  1. # Define a route for our event dispatching example.
  2. events_example.description:
  3. path: '/examples/events-example'
  4. defaults:
  5. _form: '\Drupal\events_example\Form\EventsExampleForm'
  6. _title: 'Events Example'
  7. requirements:
  8. _permission: 'access content'