session_example.routing.yml

Same filename in other branches
  1. 4.0.x modules/session_example/session_example.routing.yml
modules/session_example/session_example.routing.yml
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
  1. session_example.form:
  2. path: '/examples/session_example'
  3. defaults:
  4. _form: '\Drupal\session_example\Form\SessionExampleForm'
  5. _title: 'Session Example'
  6. requirements:
  7. _permission: 'access content'
  8. session_example.view:
  9. path: '/examples/session_example/view'
  10. defaults:
  11. _controller: '\Drupal\session_example\Controller\SessionExampleController::showSession'
  12. _title: 'Session Example: Current Values'
  13. requirements:
  14. _permission: 'access content'