events_example.routing.yml

Same filename in other branches
  1. 3.x modules/events_example/events_example.routing.yml
  2. 8.x-1.x 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 for testing toolbar routes.

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'