public PathValidatorInterface::isValid($path)
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.
File
- core/lib/Drupal/Core/Path/PathValidatorInterface.php, line 44
Class
- PathValidatorInterface
- Provides an interface for url path validators.
Namespace
Drupal\Core\Path
Code
public function isValid($path);
Please login to continue.