You are here

public property ModerationStateConstraint::$message 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::message
  2. 9 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::message

File

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

Class

ModerationStateConstraint
Verifies that nodes have a valid moderation state.

Namespace

Drupal\content_moderation\Plugin\Validation\Constraint

Code

public $message = 'Invalid state transition from %from to %to';