Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / menu_ui / src / Plugin / Validation / Constraint / MenuSettingsConstraint.php
1 <?php
2
3 namespace Drupal\menu_ui\Plugin\Validation\Constraint;
4
5 use Symfony\Component\Validator\Constraint;
6
7 /**
8  * Validation constraint for changing the menu settings in pending revisions.
9  *
10  * @Constraint(
11  *   id = "MenuSettings",
12  *   label = @Translation("Menu settings.", context = "Validation"),
13  * )
14  */
15 class MenuSettingsConstraint extends Constraint {
16
17   public $message = 'You can only change the menu settings for the <em>published</em> version of this content.';
18
19 }