public function PathValidatorInterface::isValid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Path/PathValidatorInterface.php \Drupal\Core\Path\PathValidatorInterface::isValid()
Checks if the URL path is valid and accessible by the current user.
Parameters
string $path: The path to check.
Return value
bool TRUE if the path is valid.
1 method overrides PathValidatorInterface::isValid()
- PathValidator::isValid in core/
lib/ Drupal/ Core/ Path/ PathValidator.php - Checks if the URL path is valid and accessible by the current user.
File
- core/
lib/ Drupal/ Core/ Path/ PathValidatorInterface.php, line 49 - Contains \Drupal\Core\Path\PathValidatorInterface.
Class
- PathValidatorInterface
- Provides an interface for url path validators.
Namespace
Drupal\Core\PathCode
public function isValid($path);