PathValidatorInterface::isValid

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);
doc_Drupal
2016-10-29 09:33:37
Comments
Leave a Comment

Please login to continue.