public property ValidReferenceConstraint::$invalidAutocreateMessage in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::invalidAutocreateMessage
- 10 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::invalidAutocreateMessage
Violation message when a new entity ("autocreate") is invalid.
Type: string
File
- core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ValidReferenceConstraint.php, line 38
Class
- ValidReferenceConstraint
- Entity Reference valid reference constraint.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public $invalidAutocreateMessage = 'This entity (%type: %label) cannot be referenced.';