PathValidatorInterface

Provides an interface for url path validators.

Hierarchy

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.
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.