MenuTreeHierarchyConstraint::$message
Same name in other branches
- 9 core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraint::message
- 8.9.x core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraint::message
- 10 core/modules/menu_link_content/src/Plugin/Validation/Constraint/MenuTreeHierarchyConstraint.php \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraint::message
The default violation message.
Type: string
File
-
core/
modules/ menu_link_content/ src/ Plugin/ Validation/ Constraint/ MenuTreeHierarchyConstraint.php, line 23
Class
- MenuTreeHierarchyConstraint
- Validation constraint for changing the menu hierarchy in pending revisions.
Namespace
Drupal\menu_link_content\Plugin\Validation\ConstraintCode
public $message = 'You can only change the hierarchy for the <em>published</em> version of this menu link.';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.