LinkTypeConstraint.php
Same filename in other branches
Namespace
Drupal\link\Plugin\Validation\ConstraintFile
-
core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkTypeConstraint.php
View source
<?php
namespace Drupal\link\Plugin\Validation\Constraint;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;
use Symfony\Component\Validator\Constraint as SymfonyConstraint;
/**
* Validation constraint for links receiving data allowed by its settings.
*/
class LinkTypeConstraint extends SymfonyConstraint {
public $message = "The path '@uri' is invalid.";
}
Classes
Title | Deprecated | Summary |
---|---|---|
LinkTypeConstraint | Validation constraint for links receiving data allowed by its settings. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.