public property ValidEntityHierarchySection::$message in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x modules/entity_hierarchy_workbench_access/src/Plugin/Validation/Constraint/ValidEntityHierarchySection.php \Drupal\entity_hierarchy_workbench_access\Plugin\Validation\Constraint\ValidEntityHierarchySection::message
Violation message. Use the same message as FormValidator.
Note that the name argument is not sanitized so that translators only have one string to translate. The name is sanitized in self::validate().
Type: string
File
- modules/
entity_hierarchy_workbench_access/ src/ Plugin/ Validation/ Constraint/ ValidEntityHierarchySection.php, line 25
Class
- ValidEntityHierarchySection
- Supports validating allowed parent.
Namespace
Drupal\entity_hierarchy_workbench_access\Plugin\Validation\ConstraintCode
public $message = 'You are not allowed to create content in this section.';