You are here

service mongodb.session_manager in MongoDB 8

Class

Drupal\mongodb_user\MongodbSessionManager
1 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
  1. class: Drupal\mongodb_user\MongodbSessionManager
  2. arguments:
  3. - '@request_stack'
  4. - '@mongo'
  5. - '@session_manager.metadata_bag'
  6. - '@session_configuration'
  7. - '@session_handler'
  8. calls:
  9. - [setWriteSafeHandler, ['@session_handler.write_safe']]