a81f313b6dba379440c526f68428d719a659e7b1
[yaffs-website] / web / core / modules / link / src / Plugin / Validation / Constraint / LinkAccessConstraint.php
1 <?php
2
3 namespace Drupal\link\Plugin\Validation\Constraint;
4
5 use Symfony\Component\Validator\Constraint;
6
7 /**
8  * Defines an access validation constraint for links.
9  *
10  * @Constraint(
11  *   id = "LinkAccess",
12  *   label = @Translation("Link URI can be accessed by the user.", context = "Validation"),
13  * )
14  */
15 class LinkAccessConstraint extends Constraint {
16
17   public $message = "The path '@uri' is inaccessible.";
18
19 }