function ValidPathConstraintValidator::create
Same name in other branches
- 9 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraintValidator::create()
- 8.9.x core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraintValidator::create()
- 10 core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php \Drupal\Core\Path\Plugin\Validation\Constraint\ValidPathConstraintValidator::create()
Overrides ContainerInjectionInterface::create
File
-
core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ ValidPathConstraintValidator.php, line 36
Class
- ValidPathConstraintValidator
- Constraint validator for validating system paths.
Namespace
Drupal\Core\Path\Plugin\Validation\ConstraintCode
public static function create(ContainerInterface $container) {
return new static($container->get('path.validator'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.