workflow_participants-8.x-2.x-dev/workflow_participants.services.yml

workflow_participants.services.yml
services:
  workflow_participants.access_checker:
    class: Drupal\workflow_participants\Access\WorkflowParticipantsAccessChecker
    arguments: ['@content_moderation.moderation_information', '@entity_type.manager']
    tags:
      - { name: access_check, applies_to: _workflow_participants_manage_access }
  Drupal\workflow_participants\Access\WorkflowParticipantsAccessChecker: '@workflow_participants.access_checker'
  workflow_participants.latest_version_access:
    class: Drupal\workflow_participants\Access\LatestVersionCheck
    arguments: ['@workflow_participants.latest_version_access.inner', '@entity_type.manager']
    decorates: access_check.latest_revision
  workflow_participants.revision_access:
    class: Drupal\workflow_participants\Access\RevisionCheck
    arguments: ['@entity_type.manager', '@access_check.entity']
    tags:
      - { name: access_check, applies_to: _workflow_participants_revision }
  workflow_participants.route_subscriber:
    class: Drupal\workflow_participants\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }
  workflow_participants.state_transition_validation:
    class: \Drupal\workflow_participants\StateTransitionValidation
    decorates: content_moderation.state_transition_validation
    arguments: ['@workflow_participants.state_transition_validation.inner', '@content_moderation.moderation_information', '@entity_type.manager']
  workflow_participants.notifier:
    class: \Drupal\workflow_participants\ParticipantNotifier
    arguments: ['@config.factory', '@entity_type.manager', '@plugin.manager.mail', '@token', '@?token.entity_mapper']
  Drupal\workflow_participants\ParticipantNotifierInterface: '@workflow_participants.notifier'
  Drupal\workflow_participants\Hook\WorkflowParticipantsHooks:
    class: Drupal\workflow_participants\Hook\WorkflowParticipantsHooks
    autowire: true
  Drupal\workflow_participants\Hook\WorkflowParticipantsEntityHooks:
    class: Drupal\workflow_participants\Hook\WorkflowParticipantsEntityHooks
    autowire: true
  Drupal\workflow_participants\Hook\WorkflowParticipantsLowerHooks:
    class: Drupal\workflow_participants\Hook\WorkflowParticipantsLowerHooks
    autowire: true

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

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