public property ValidHierarchyReferenceConstraint::$message in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x 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.';