TestValidatedReferenceConstraint::$message

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php \Drupal\entity_test\Plugin\Validation\Constraint\TestValidatedReferenceConstraint::message
  2. 10 core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php \Drupal\entity_test\Plugin\Validation\Constraint\TestValidatedReferenceConstraint::message
  3. 11.x core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php \Drupal\entity_test\Plugin\Validation\Constraint\TestValidatedReferenceConstraint::message

The default violation message.

Type: string

File

core/modules/system/tests/modules/entity_test/src/Plugin/Validation/Constraint/TestValidatedReferenceConstraint.php, line 22

Class

TestValidatedReferenceConstraint
Validates referenced entities.

Namespace

Drupal\entity_test\Plugin\Validation\Constraint

Code

public $message = 'Invalid referenced entity.';

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