You are here

mongodb_user.services.yml in MongoDB 8

mongodb_user/mongodb_user.services.yml

File

mongodb_user/mongodb_user.services.yml
View source
  1. services:
  2. mongodb.user.data:
  3. class: Drupal\mongodb_user\MongodbUserData
  4. arguments: ['@mongo']
  5. mongodb.session_manager:
  6. class: Drupal\mongodb_user\MongodbSessionManager
  7. arguments: ['@request_stack', '@mongo', '@session_manager.metadata_bag', '@session_configuration', '@session_handler']
  8. calls:
  9. - [setWriteSafeHandler, ['@session_handler.write_safe']]
  10. mongodb.session_handler.storage:
  11. class: Drupal\mongodb_user\MongodbSessionHandler
  12. arguments: ['@request_stack', '@mongo']