You are here

phpunit_example.routing.yml in Examples for Developers 8

phpunit_example/phpunit_example.routing.yml

File

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'