You are here

public property ModerationStateConstraint::$invalidStateMessage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidStateMessage
  2. 9 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidStateMessage

File

core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php, line 18

Class

ModerationStateConstraint
Verifies that nodes have a valid moderation state.

Namespace

Drupal\content_moderation\Plugin\Validation\Constraint

Code

public $invalidStateMessage = 'State %state does not exist on %workflow workflow';