Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / content_moderation / src / Plugin / Validation / Constraint / ModerationStateConstraint.php
index c2c373f32fb3da8cd9ab65f2db5e2657aa80e62a..7f7c756b6b9bcb60d6934e438386eec3225458a3 100644 (file)
@@ -15,5 +15,6 @@ use Symfony\Component\Validator\Constraint;
 class ModerationStateConstraint extends Constraint {
 
   public $message = 'Invalid state transition from %from to %to';
+  public $invalidStateMessage = 'State %state does not exist on %workflow workflow';
 
 }