Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / workspaces / src / Plugin / Validation / Constraint / EntityReferenceSupportedNewEntitiesConstraint.php
1 <?php
2
3 namespace Drupal\workspaces\Plugin\Validation\Constraint;
4
5 use Symfony\Component\Validator\Constraint;
6
7 /**
8  * The entity reference supported new entities constraint.
9  *
10  * @Constraint(
11  *   id = "EntityReferenceSupportedNewEntities",
12  *   label = @Translation("Entity Reference Supported New Entities", context = "Validation"),
13  * )
14  */
15 class EntityReferenceSupportedNewEntitiesConstraint extends Constraint {
16
17   /**
18    * The default violation message.
19    *
20    * @var string
21    */
22   public $message = '%collection_label can only be created in the default workspace.';
23
24 }