You are here

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

modules/phpunit_example/phpunit_example.routing.yml

File

modules/phpunit_example/phpunit_example.routing.yml
View source
  1. # phpunit_example only has one route. It is to a page explaining
  2. # the module.
  3. phpunit_example.description:
  4. path: '/examples/phpunit-example'
  5. defaults:
  6. _controller: '\Drupal\phpunit_example\Controller\PHPUnitExampleController::description'
  7. requirements:
  8. _permission: 'access content'