o365-2.0.3/o365.services.yml

o365.services.yml
services:
  o365.authentication:
    class: Drupal\o365\AuthenticationService
    arguments:
      [
        '@config.factory',
        '@tempstore.private',
        '@o365.constants',
        '@o365.logger',
        '@request_stack',
        '@o365.helpers',
        '@current_user',
        '@externalauth.authmap',
        '@messenger',
        '@entity_type.manager',
      ]
  o365.constants:
    class: Drupal\o365\ConstantsService
    arguments: ['@config.factory', '@request_stack']
  o365.graph:
    class: Drupal\o365\GraphService
    arguments:
      [
        '@o365.authentication',
        '@o365.logger',
        '@cache.default',
        '@logger.factory',
        '@externalauth.authmap',
        '@current_user',
      ]
  o365.logger:
    class: Drupal\o365\O365LoggerService
    arguments: ['@logger.factory', '@messenger']
  o365.helpers:
    class: Drupal\o365\HelperService
    arguments: ['@date.formatter', '@module_handler']
  o365.profile_render:
    class: Drupal\o365\PersonaRenderService
    arguments: []
  o365.role_event:
    class: Drupal\o365\EventSubscriber\RoleEventSubscriber
    arguments: ['@o365.roles']
    tags:
      - { name: event_subscriber }
  o365.roles:
    class: Drupal\o365\RolesService
    arguments: ['@o365.graph', '@config.factory', '@logger.factory']

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc