You are here

public property ValidDynamicReferenceConstraint::$wrongBundleMessage 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::wrongBundleMessage

Validation message when bundle is not supported.

Type: string

File

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

Class

ValidDynamicReferenceConstraint
Dynamic Entity Reference valid reference constraint.

Namespace

Drupal\dynamic_entity_reference\Plugin\Validation\Constraint

Code

public $wrongBundleMessage = 'Referenced entity %label does not belong to one of the supported bundles (%bundles).';