public property ValidDynamicReferenceConstraint::$wrongTypeMessage in Dynamic Entity Reference 8
Same name and namespace in other branches
- 8.2 src/Plugin/Validation/Constraint/ValidDynamicReferenceConstraint.php \Drupal\dynamic_entity_reference\Plugin\Validation\Constraint\ValidDynamicReferenceConstraint::wrongTypeMessage
Validation message when the entity type is not supported.
Type: string
File
- src/
Plugin/ Validation/ Constraint/ ValidDynamicReferenceConstraint.php, line 52
Class
- ValidDynamicReferenceConstraint
- Dynamic Entity Reference valid reference constraint.
Namespace
Drupal\dynamic_entity_reference\Plugin\Validation\ConstraintCode
public $wrongTypeMessage = 'The referenced entity type (%type) is not allowed for this field.';