Drupal::pathValidator

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');
}
doc_Drupal
2016-10-29 09:02:48
Comments
Leave a Comment

Please login to continue.