user.services.yml 1.37 KB
Newer Older
1 2 3 4
services:
  access_check.permission:
    class: Drupal\user\Access\PermissionAccessCheck
    tags:
5
      - { name: access_check, applies_to: _permission }
6 7 8
  access_check.user.register:
    class: Drupal\user\Access\RegisterAccessCheck
    tags:
9
      - { name: access_check, applies_to: _access_user_register }
10 11 12
  access_check.user.role:
    class: Drupal\user\Access\RoleAccessCheck
    tags:
13
      - { name: access_check, applies_to: _role }
14 15 16
  access_check.user.login_status:
    class: Drupal\user\Access\LoginStatusCheck
    tags:
17
      - { name: access_check, applies_to: _user_is_logged_in }
18 19 20 21 22
  user.data:
    class: Drupal\user\UserData
    arguments: ['@database']
  user.autocomplete:
    class: Drupal\user\UserAutocomplete
23
    arguments: ['@database', '@config.factory', '@entity.manager', '@entity.query']
24 25 26 27
  user_maintenance_mode_subscriber:
    class: Drupal\user\EventSubscriber\MaintenanceModeSubscriber
    tags:
      - { name: event_subscriber }
28 29
  theme.negotiator.admin_theme:
    class: Drupal\user\Theme\AdminNegotiator
30
    arguments: ['@current_user', '@config.factory', '@entity.manager', '@router.admin_context']
31 32
    tags:
      - { name: theme_negotiator, priority: -40 }
33 34 35
  user.permissions_hash:
    class: Drupal\user\PermissionsHash
    arguments: ['@private_key', '@cache.cache']
36 37 38
  user.auth:
    class: Drupal\user\UserAuth
    arguments: ['@entity.manager', '@password']