session_example.routing.yml
Same filename in other branches
3 string references to YAML keys in session_example.routing.yml
- SessionExampleTest::testSessionExample in modules/
session_example/ tests/ src/ Functional/ SessionExampleTest.php - Functional tests for the session example.
- SessionExampleTest::testUserIsolation in modules/
session_example/ tests/ src/ Functional/ SessionExampleTest.php - Ensure the session data does not follow different users around.
- _examples_toolbar_routes in ./
examples.module - Get a list of toolbar links to provide.
File
-
modules/
session_example/ session_example.routing.yml
View source
- session_example.form:
- path: '/examples/session_example'
- defaults:
- _form: '\Drupal\session_example\Form\SessionExampleForm'
- _title: 'Session Example'
- requirements:
- _permission: 'access content'
- session_example.view:
- path: '/examples/session_example/view'
- defaults:
- _controller: '\Drupal\session_example\Controller\SessionExampleController::showSession'
- _title: 'Session Example: Current Values'
- requirements:
- _permission: 'access content'