Drupal investigation

user.services.yml 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. services:
  2. access_check.permission:
  3. class: Drupal\user\Access\PermissionAccessCheck
  4. tags:
  5. - { name: access_check, applies_to: _permission }
  6. access_check.user.register:
  7. class: Drupal\user\Access\RegisterAccessCheck
  8. tags:
  9. - { name: access_check, applies_to: _access_user_register }
  10. access_check.user.role:
  11. class: Drupal\user\Access\RoleAccessCheck
  12. tags:
  13. - { name: access_check, applies_to: _role }
  14. access_check.user.login_status:
  15. class: Drupal\user\Access\LoginStatusCheck
  16. tags:
  17. - { name: access_check, applies_to: _user_is_logged_in }
  18. user.authentication.cookie:
  19. class: Drupal\user\Authentication\Provider\Cookie
  20. arguments: ['@session_configuration', '@database']
  21. tags:
  22. - { name: authentication_provider, provider_id: 'cookie', priority: 0, global: TRUE }
  23. user.data:
  24. class: Drupal\user\UserData
  25. arguments: ['@database']
  26. tags:
  27. - { name: backend_overridable }
  28. user_maintenance_mode_subscriber:
  29. class: Drupal\user\EventSubscriber\MaintenanceModeSubscriber
  30. arguments: ['@maintenance_mode', '@current_user']
  31. tags:
  32. - { name: event_subscriber }
  33. user_access_denied_subscriber:
  34. class: Drupal\user\EventSubscriber\AccessDeniedSubscriber
  35. arguments: ['@current_user', '@url_generator']
  36. tags:
  37. - { name: event_subscriber }
  38. user_last_access_subscriber:
  39. class: Drupal\user\EventSubscriber\UserRequestSubscriber
  40. arguments: ['@current_user', '@entity.manager']
  41. tags:
  42. - { name: event_subscriber }
  43. theme.negotiator.admin_theme:
  44. class: Drupal\user\Theme\AdminNegotiator
  45. arguments: ['@current_user', '@config.factory', '@entity.manager', '@router.admin_context']
  46. tags:
  47. - { name: theme_negotiator, priority: -40 }
  48. user.auth:
  49. class: Drupal\user\UserAuth
  50. arguments: ['@entity.manager', '@password']
  51. user.private_tempstore:
  52. class: Drupal\user\PrivateTempStoreFactory
  53. arguments: ['@keyvalue.expirable', '@lock', '@current_user', '@request_stack', '%user.tempstore.expire%']
  54. tags:
  55. - { name: backend_overridable }
  56. user.shared_tempstore:
  57. class: Drupal\user\SharedTempStoreFactory
  58. arguments: ['@keyvalue.expirable', '@lock', '@request_stack', '%user.tempstore.expire%']
  59. tags:
  60. - { name: backend_overridable }
  61. user.permissions:
  62. class: Drupal\user\PermissionHandler
  63. arguments: ['@module_handler', '@string_translation', '@controller_resolver']
  64. user.current_user_context:
  65. class: Drupal\user\ContextProvider\CurrentUserContext
  66. arguments: ['@current_user', '@entity.manager']
  67. tags:
  68. - { name: 'context_provider' }
  69. parameters:
  70. user.tempstore.expire: 604800