You are here

public property MenuSettingsConstraint::$messageParent in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageParent
  2. 9 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageParent

File

core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php, line 19

Class

MenuSettingsConstraint
Validation constraint for changing the menu settings in pending revisions.

Namespace

Drupal\menu_ui\Plugin\Validation\Constraint

Code

public $messageParent = 'You can only change the parent menu link for the <em>published</em> version of this content.';