Provides an interface for url path validators.
Hierarchy
- interface \Drupal\Core\Path\PathValidatorInterface
File
- core/lib/Drupal/Core/Path/PathValidatorInterface.php, line 8
Namespace
Drupal\Core\Path
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PathValidatorInterface::getUrlIfValid | public | function | Returns a URL object, if the path is valid and accessible. |
PathValidatorInterface::getUrlIfValidWithoutAccessCheck | public | function | Returns a URL object, if the path is valid. |
PathValidatorInterface::isValid | public | function | Checks if the URL path is valid and accessible by the current user. |
Please login to continue.