function ValidPathConstraint::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraint::__construct()
Attributes
#[HasNamedArguments]
File
-
core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ ValidPathConstraint.php, line 19
Class
- ValidPathConstraint
- Validation constraint for valid system paths.
Namespace
Drupal\Core\Path\Plugin\Validation\ConstraintCode
public function __construct(mixed $options = NULL, public $message = "Either the path '%link_path' is invalid or you do not have access to it.", ?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.