events_example.routing.yml

Same filename and directory in other branches
  1. 4.0.x modules/events_example/events_example.routing.yml
modules/events_example/events_example.routing.yml
2 string references to YAML keys in events_example.routing.yml
EventsExampleTest::testEventsExample in modules/events_example/tests/src/Functional/EventsExampleTest.php
Test the output of the example page.
_examples_toolbar_routes in ./examples.module
Get a list of toolbar links to provide.

File

modules/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'