Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \session_manager
  2. 9 core/core.services.yml \session_manager

Class

Drupal\Core\Session\SessionManager

Tags

  • backend_overridable
2 string references to session_manager
SessionManagerDestroyNoCliCheckTest::testCallSessionManagerStartAndDestroy in core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php
Tests starting and destroying a session from the CLI.
user_logout in core/modules/user/user.module
Logs the current user out.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Session\SessionManager
  2. arguments:
  3. - '@request_stack'
  4. - '@database'
  5. - '@session_manager.metadata_bag'
  6. - '@session_configuration'
  7. - '@datetime.time'
  8. - '@session_handler'
  9. tags:
  10. - { name: backend_overridable }
  11. calls:
  12. - [setWriteSafeHandler, ['@session_handler.write_safe']]