public static Drupal::pathValidator()
Returns the path validator.
Return value
\Drupal\Core\Path\PathValidatorInterface
File
- core/lib/Drupal.php, line 690
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function pathValidator() { return static::getContainer()->get('path.validator'); }
Please login to continue.