You are here

public property ValidDynamicReferenceConstraint::$message in Dynamic Entity Reference 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Validation/Constraint/ValidDynamicReferenceConstraint.php \Drupal\dynamic_entity_reference\Plugin\Validation\Constraint\ValidDynamicReferenceConstraint::message

The default violation message.

Type: string

File

src/Plugin/Validation/Constraint/ValidDynamicReferenceConstraint.php, line 24

Class

ValidDynamicReferenceConstraint
Dynamic Entity Reference valid reference constraint.

Namespace

Drupal\dynamic_entity_reference\Plugin\Validation\Constraint

Code

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