You are here

public property ValidReferenceConstraint::$invalidAutocreateMessage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 43
Contains \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint.

Class

ValidReferenceConstraint
Entity Reference valid reference constraint.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public $invalidAutocreateMessage = 'This entity (%type: %label) cannot be referenced.';