You are here

service content_moderation.state_transition_validation in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_moderation/content_moderation.services.yml \content_moderation.state_transition_validation
  2. 10 core/modules/content_moderation/content_moderation.services.yml \content_moderation.state_transition_validation

Class

\Drupal\content_moderation\StateTransitionValidation
5 string references to content_moderation.state_transition_validation
content_moderation_entity_access in core/modules/content_moderation/content_moderation.module
Implements hook_entity_access().
EntityModerationForm::create in core/modules/content_moderation/src/Form/EntityModerationForm.php
Instantiates a new instance of this class.
EntityTypeInfo::create in core/modules/content_moderation/src/EntityTypeInfo.php
Instantiates a new instance of this class.
ModerationStateConstraintValidator::create in core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php
Instantiates a new instance of this class.
ModerationStateWidget::create in core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php
Creates an instance of the plugin.

File

core/modules/content_moderation/content_moderation.services.yml
core/modules/content_moderation/content_moderation.services.yml

View source
  1. class: \Drupal\content_moderation\StateTransitionValidation
  2. arguments:
  3. - '@content_moderation.moderation_information'