public property EntityHasFieldConstraint::$notFieldableMessage in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraint::notFieldableMessage
- 9 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraint::notFieldableMessage
The violation message for non-fieldable entities.
Type: string
File
- core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityHasFieldConstraint.php, line 30
Class
- EntityHasFieldConstraint
- Checks if a value is an entity that has a specific field.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public $notFieldableMessage = 'The entity does not support fields.';