Version 1
[yaffs-website] / web / core / modules / link / src / Plugin / Validation / Constraint / LinkTypeConstraint.php
1 <?php
2
3 namespace Drupal\link\Plugin\Validation\Constraint;
4
5 use Symfony\Component\Validator\Constraint;
6
7 /**
8  * Validation constraint for links receiving data allowed by its settings.
9  *
10  * @Constraint(
11  *   id = "LinkType",
12  *   label = @Translation("Link data valid for link type.", context = "Validation"),
13  * )
14  */
15 class LinkTypeConstraint extends Constraint {
16
17   public $message = "The path '@uri' is invalid.";
18
19 }