public property StateConstraint::$message in State Machine 8
The default violation message.
Type: string
File
- src/
Plugin/ Validation/ Constraint/ StateConstraint.php, line 24
Class
- StateConstraint
- Ensures the validity of the specified state.
Namespace
Drupal\state_machine\Plugin\Validation\ConstraintCode
public $message = "The state '@state' is invalid.";