You are here

public property ValidReferenceConstraint::$invalidAutocreateMessage in Drupal 8

Same name and namespace in other branches
  1. 9 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\Constraint

Code

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