summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2017-08-23 14:50:22 +0900
committerNathaniel Catchpole2017-08-23 14:50:22 +0900
commit98c5df894160db255e8490d7b9dfef19e303e13e (patch)
tree9dd80bca247d748f8ce7d8d1afc96fe7021c2197
parentad36d819e167852024f2a3bf54cc4a0932523388 (diff)
Revert "Issue #2900421 by timmillwood, tim.plunkett, Sam152: Architectural review of the Content Moderation module"
This reverts commit c7c9a329efc0b01fd757b25a61338a06bc0f67c5.
-rw-r--r--core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php b/core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php
index 4636d0b..bfbdac5 100644
--- a/core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php
+++ b/core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php
@@ -6,6 +6,7 @@ use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\content_moderation\ModerationInformationInterface;
+use Drupal\content_moderation\StateTransitionValidation;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;