ValidReferenceConstraint::$nonExistingMessage

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::nonExistingMessage
  2. 8.9.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::nonExistingMessage
  3. 10 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::nonExistingMessage

Violation message when the entity does not exist.

Type: string

File

core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php, line 32

Class

ValidReferenceConstraint
Entity Reference valid reference constraint.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public $nonExistingMessage = 'The referenced entity (%type: %id) does not exist.';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.