function LinkNotExistingInternalConstraint::__construct
Same name and namespace in other branches
- 11.x core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraint::__construct()
Attributes
#[HasNamedArguments]
File
-
core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkNotExistingInternalConstraint.php, line 19
Class
- LinkNotExistingInternalConstraint
- Defines a protocol validation constraint for links to broken internal URLs.
Namespace
Drupal\link\Plugin\Validation\ConstraintCode
public function __construct(mixed $options = NULL, public string $message = "The path '@uri' is invalid.", ?array $groups = NULL, mixed $payload = NULL) {
parent::__construct($options, $groups, $payload);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.