ValidPathConstraintValidator::$pathValidator

Same name in other branches
  1. 9 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraintValidator::pathValidator
  2. 8.9.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraintValidator::pathValidator
  3. 11.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraintValidator::pathValidator

The path validator.

Type: \Drupal\Core\Path\PathValidatorInterface

File

core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php, line 21

Class

ValidPathConstraintValidator
Constraint validator for validating system paths.

Namespace

Drupal\Core\Path\Plugin\Validation\Constraint

Code

protected $pathValidator;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.