You are here

public property MenuSettingsConstraint::$messageRemove in Drupal 9

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::messageRemove
  2. 10 core/modules/menu_ui/src/Plugin/Validation/Constraint/MenuSettingsConstraint.php \Drupal\menu_ui\Plugin\Validation\Constraint\MenuSettingsConstraint::messageRemove

File

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

Class

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

Namespace

Drupal\menu_ui\Plugin\Validation\Constraint

Code

public $messageRemove = 'You can only remove the menu link in the <em>published</em> version of this content.';