ModerationStateConstraint::$invalidStateMessage
Same name in other branches
- 9 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidStateMessage
- 8.9.x core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidStateMessage
- 10 core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint::invalidStateMessage
Type: invalidStateMessage
File
-
core/
modules/ content_moderation/ src/ Plugin/ Validation/ Constraint/ ModerationStateConstraint.php, line 19
Class
- ModerationStateConstraint
- Verifies that nodes have a valid moderation state.
Namespace
Drupal\content_moderation\Plugin\Validation\ConstraintCode
public $invalidStateMessage = 'State %state does not exist on %workflow workflow';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.