crm_core_user_sync.services.yml 768 Bytes
Newer Older
1 2 3
services:
  crm_core_user_sync.relation:
    class: Drupal\crm_core_user_sync\CrmCoreUserSyncRelation
RoSk0's avatar
RoSk0 committed
4
    arguments: ['@entity_type.manager', '@crm_core_user_sync.relation_rules', '@logger.channel.crm_core_user_sync']
5

6 7 8
  crm_core_user_sync.relation_rules:
    class: Drupal\crm_core_user_sync\CrmCoreUserSyncRelationRules
    arguments: ['@config.factory', 'crm_core_user_sync.settings']
9 10 11 12 13 14

  crm_core_user_sync.request.event_subscriber:
    class: Drupal\crm_core_user_sync\EventSubscriber\RequestSubscriber
    arguments: ['@current_user', '@config.factory', '@crm_core_user_sync.relation', '@entity_type.manager']
    tags:
      - { name: event_subscriber }
RoSk0's avatar
RoSk0 committed
15 16 17 18

  logger.channel.crm_core_user_sync:
    parent: logger.channel_base
    arguments: ['crm_core_user_sync']