content_moderation.services.yml

Same filename in other branches
  1. 8.9.x core/modules/content_moderation/content_moderation.services.yml
  2. 10 core/modules/content_moderation/content_moderation.services.yml
  3. 11.x core/modules/content_moderation/content_moderation.services.yml
core/modules/content_moderation/content_moderation.services.yml

File

core/modules/content_moderation/content_moderation.services.yml

View source
  1. services:
  2. content_moderation.state_transition_validation:
  3. class: Drupal\content_moderation\StateTransitionValidation
  4. arguments: ['@content_moderation.moderation_information']
  5. content_moderation.moderation_information:
  6. class: Drupal\content_moderation\ModerationInformation
  7. arguments: ['@entity_type.manager', '@entity_type.bundle.info']
  8. access_check.latest_revision:
  9. class: Drupal\content_moderation\Access\LatestRevisionCheck
  10. arguments: ['@content_moderation.moderation_information']
  11. tags:
  12. - { name: access_check, applies_to: _content_moderation_latest_version }
  13. content_moderation.config_import_subscriber:
  14. class: Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber
  15. arguments: ['@config.manager', '@entity_type.manager']
  16. tags:
  17. - { name: event_subscriber }
  18. content_moderation.route_subscriber:
  19. class: Drupal\content_moderation\Routing\ContentModerationRouteSubscriber
  20. arguments: ['@entity_type.manager']
  21. tags:
  22. - { name: event_subscriber }

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.