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