
| Current Path : /var/www/html/dataninja.cn/core/modules/content_moderation/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/dataninja.cn/core/modules/content_moderation/content_moderation.services.yml |
services:
paramconverter.latest_revision:
class: Drupal\content_moderation\ParamConverter\EntityRevisionConverter
parent: paramconverter.entity
tags:
# Set priority so it comes after paramconverter.configentity_admin, but
# before paramconverter.entity.
- { name: paramconverter, priority: 1 }
content_moderation.state_transition_validation:
class: \Drupal\content_moderation\StateTransitionValidation
arguments: ['@content_moderation.moderation_information']
content_moderation.moderation_information:
class: Drupal\content_moderation\ModerationInformation
arguments: ['@entity_type.manager', '@entity_type.bundle.info']
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']
tags:
- { name: event_subscriber }
content_moderation.route_subscriber:
class: Drupal\content_moderation\Routing\ContentModerationRouteSubscriber
arguments: ['@entity_type.manager']
tags:
- { name: event_subscriber }