MenuSettingsConstraint::$messageWeight

Same name in other branches
  1. 9 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageWeight
  2. 10 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageWeight
  3. 11.x core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageWeight

Type: 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\Constraint

Code

public $messageWeight = 'You can only change the menu item weight for the <em>published</em> version of this content.';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.