You are here

service workbench_moderation.state_transition_validation in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 workbench_moderation.services.yml \workbench_moderation.state_transition_validation

Class

\Drupal\workbench_moderation\StateTransitionValidation
4 string references to workbench_moderation.state_transition_validation
EntityModerationForm::create in src/Form/EntityModerationForm.php
@inheritDoc
ModerationStateValidator::create in src/Plugin/Validation/Constraint/ModerationStateValidator.php
Instantiates a new instance of this class.
ModerationStateWidget::create in src/Plugin/Field/FieldWidget/ModerationStateWidget.php
Creates an instance of the plugin.
workbench_moderation_node_access in ./workbench_moderation.module
Implements hook_entity_access().

File

./workbench_moderation.services.yml
workbench_moderation.services.yml

View source
  1. class: \Drupal\workbench_moderation\StateTransitionValidation
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@entity.query'