service mongodb.session_manager in MongoDB 8
Class
Drupal\mongodb_user\MongodbSessionManager1 string reference to mongodb.session_manager
- MongodbServiceProvider::alter in src/
MongodbServiceProvider.php - Modifies existing service definitions.
File
- mongodb_user/
mongodb_user.services.yml - mongodb_user/mongodb_user.services.yml
View source
- class: Drupal\mongodb_user\MongodbSessionManager
- arguments:
- - '@request_stack'
- - '@mongo'
- - '@session_manager.metadata_bag'
- - '@session_configuration'
- - '@session_handler'
- calls:
- - [setWriteSafeHandler, ['@session_handler.write_safe']]