ValidReferenceConstraint::$invalidAutocreateMessage
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::invalidAutocreateMessage
- 8.9.x 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 39
Class
- ValidReferenceConstraint
- Entity Reference valid reference constraint.
Namespace
Drupal\Core\Entity\Plugin\Validation\ConstraintCode
public $invalidAutocreateMessage = 'This entity (%type: %label) cannot be referenced.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.