public property MenuSettingsConstraint::$messageWeight in Drupal 10
Same name and namespace in other branches
- 8 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageWeight
- 9 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageWeight
File
- core/
modules/ menu_ui/ src/ Plugin/ Validation/ Constraint/ MenuSettingsConstraint.php, line 18
Class
- MenuSettingsConstraint
- Validation constraint for changing the menu settings in pending revisions.
Namespace
Drupal\menu_ui\Plugin\Validation\ConstraintCode
public $messageWeight = 'You can only change the menu link weight for the <em>published</em> version of this content.';