public property ValidHierarchyReferenceConstraint::$message in Entity Reference Hierarchy 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/Validation/Constraint/ValidHierarchyReferenceConstraint.php \Drupal\entity_hierarchy\Plugin\Validation\Constraint\ValidHierarchyReferenceConstraint::message
The default violation message.
Type: string
File
- src/
Plugin/ Validation/ Constraint/ ValidHierarchyReferenceConstraint.php, line 24
Class
- ValidHierarchyReferenceConstraint
- Entity Reference valid reference constraint.
Namespace
Drupal\entity_hierarchy\Plugin\Validation\ConstraintCode
public $message = 'This entity (%type: %id) cannot be referenced as it is either a child or the same entity.';