persistent_login.services.yml in Persistent Login 8
File
persistent_login.services.yml
View source
- services:
- logger.channel.persistent_login:
- parent: logger.channel_base
- arguments: ['persistent_login']
- persistent_login.cookie_helper:
- class: Drupal\persistent_login\CookieHelper
- arguments: ['@session_configuration', '@config.factory']
- persistent_login.token_manager:
- class: Drupal\persistent_login\TokenManager
- arguments: ['@database', '@config.factory', '@csrf_token', '@logger.channel.persistent_login', '@datetime.time']
- persistent_login.token_handler:
- class: Drupal\persistent_login\EventSubscriber\TokenHandler
- arguments: ['@persistent_login.token_manager', '@persistent_login.cookie_helper', '@session_configuration', '@entity_type.manager']
- tags:
- - { name: event_subscriber }
- persistent_login.page_cache_request_policy.pending_persistent_login:
- class: Drupal\persistent_login\PageCache\RequestPolicy\PendingPersistentLogin
- arguments: ['@persistent_login.cookie_helper', '@session_configuration']
- tags:
- - { name: page_cache_request_policy }