ValidKeysConstraint::$invalidKeyMessage
The error message if a key is invalid.
Type: string
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ ValidKeysConstraint.php, line 29
Class
- ValidKeysConstraint
- Checks that all the keys of a mapping are valid and required keys present.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public string $invalidKeyMessage = "'@key' is not a supported key.";
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.