ImmutablePropertiesConstraint::$message
Same name in other branches
- 11.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ImmutablePropertiesConstraint::message
The error message if an immutable property has been changed.
Type: string
File
-
core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ImmutablePropertiesConstraint.php, line 26
Class
- ImmutablePropertiesConstraint
- Checks if config entity properties have been changed.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public string $message = "The '@name' property cannot be changed.";
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.