content_moderation.state_transition_validation

Same name in other branches
  1. 9 core/modules/content_moderation/content_moderation.services.yml \content_moderation.state_transition_validation
  2. 8.9.x core/modules/content_moderation/content_moderation.services.yml \content_moderation.state_transition_validation
  3. 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
ContentModerationHooks::entityAccess in core/modules/content_moderation/src/Hook/ContentModerationHooks.php
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

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

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