ModerationStateConstraint::$message

Type: 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';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.