content_moderation.services.yml
Same filename in other branches
File
-
core/
modules/ content_moderation/ content_moderation.services.yml
View source
- services:
- _defaults:
- autoconfigure: true
- content_moderation.state_transition_validation:
- class: Drupal\content_moderation\StateTransitionValidation
- arguments: ['@content_moderation.moderation_information']
- Drupal\content_moderation\StateTransitionValidationInterface: '@content_moderation.state_transition_validation'
- content_moderation.moderation_information:
- class: Drupal\content_moderation\ModerationInformation
- arguments: ['@entity_type.manager', '@entity_type.bundle.info']
- Drupal\content_moderation\ModerationInformationInterface: '@content_moderation.moderation_information'
- access_check.latest_revision:
- class: Drupal\content_moderation\Access\LatestRevisionCheck
- arguments: ['@content_moderation.moderation_information']
- tags:
- - { name: access_check, applies_to: _content_moderation_latest_version }
- content_moderation.config_import_subscriber:
- class: Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber
- arguments: ['@config.manager', '@entity_type.manager']
- content_moderation.route_subscriber:
- class: Drupal\content_moderation\Routing\ContentModerationRouteSubscriber
- arguments: ['@entity_type.manager']
- content_moderation.workspace_subscriber:
- class: Drupal\content_moderation\EventSubscriber\WorkspaceSubscriber
- arguments: ['@entity_type.manager', '@?workspaces.association']
Services
Title | Deprecated | Summary |
---|---|---|
access_check.latest_revision | Drupal\content_moderation\Access\LatestRevisionCheck | |
content_moderation.config_import_subscriber | Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber | |
content_moderation.moderation_information | Drupal\content_moderation\ModerationInformation | |
content_moderation.route_subscriber | Drupal\content_moderation\Routing\ContentModerationRouteSubscriber | |
content_moderation.state_transition_validation | Drupal\content_moderation\StateTransitionValidation | |
content_moderation.workspace_subscriber | Drupal\content_moderation\EventSubscriber\WorkspaceSubscriber | |
Drupal\content_moderation\ModerationInformationInterface | ||
Drupal\content_moderation\StateTransitionValidationInterface | ||
_defaults |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.