Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / media / tests / modules / media_test_source / src / Plugin / Validation / Constraint / MediaTestConstraint.php
1 <?php
2
3 namespace Drupal\media_test_source\Plugin\Validation\Constraint;
4
5 use Symfony\Component\Validator\Constraint;
6
7 /**
8  * A media test constraint.
9  *
10  * @Constraint(
11  *   id = "MediaTestConstraint",
12  *   label = @Translation("Media constraint for test purposes.", context = "Validation"),
13  *   type = { "entity", "string" }
14  * )
15  */
16 class MediaTestConstraint extends Constraint {
17
18   /**
19    * The default violation message.
20    *
21    * @var string
22    */
23   public $message = 'Inappropriate text.';
24
25 }