phpunit_example.routing.yml

Same filename in other branches
  1. 4.0.x modules/phpunit_example/phpunit_example.routing.yml
modules/phpunit_example/phpunit_example.routing.yml
2 string references to YAML keys in phpunit_example.routing.yml
PHPUnitExampleMenuTest::testLinksAndPages in modules/phpunit_example/tests/src/Functional/PHPUnitExampleMenuTest.php
Verify and validate that default menu links were loaded for this module.
_examples_toolbar_routes in ./examples.module
Get a list of toolbar links to provide.

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'