service session_manager in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \session_manager
- 9 core/core.services.yml \session_manager
Class
Drupal\Core\Session\SessionManagerTags
- backend_overridable
3 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::postSave in core/
modules/ user/ src/ Entity/ User.php - user_logout in core/
modules/ user/ user.module - Logs the current user out.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Session\SessionManager
- arguments:
- - '@request_stack'
- - '@database'
- - '@session_manager.metadata_bag'
- - '@session_configuration'
- - '@session_handler'
- tags:
- - { name: backend_overridable }
- calls:
- - [setWriteSafeHandler, ['@session_handler.write_safe']]