You are here

public property ValidReferenceConstraint::$nullMessage 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::nullMessage
  2. 10 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ValidReferenceConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraint::nullMessage

Violation message when the target_id is empty.

Type: string

File

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

Class

ValidReferenceConstraint
Entity Reference valid reference constraint.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public $nullMessage = 'This value should not be null.';