Search for path
Title | Object type | File name | Summary |
---|---|---|---|
PathTestBase | class | core/ |
Provides a base class for testing the Path module. |
PathTestBase.php | file | core/ |
|
PathTestBase::$modules | property | core/ |
Modules to install. |
PathTestBase::setUp | function | core/ |
|
PathValidator | class | core/ |
Provides a default path validator and access checker. |
PathValidator.php | file | core/ |
|
PathValidator::$accessAwareRouter | property | core/ |
The access aware router. |
PathValidator::$accessUnawareRouter | property | core/ |
A router implementation which does not check access. |
PathValidator::$account | property | core/ |
The current user. |
PathValidator::$pathProcessor | property | core/ |
The path processor. |
PathValidator::getPathAttributes | function | core/ |
Gets the matched attributes for a given path. |
PathValidator::getUrl | function | core/ |
Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck(). |
PathValidator::getUrlIfValid | function | core/ |
|
PathValidator::getUrlIfValidWithoutAccessCheck | function | core/ |
|
PathValidator::isValid | function | core/ |
|
PathValidator::__construct | function | core/ |
Creates a new PathValidator. |
PathValidatorInterface | interface | core/ |
Provides an interface for URL path validators. |
PathValidatorInterface.php | file | core/ |
|
PathValidatorInterface::getUrlIfValid | function | core/ |
Returns a URL object, if the path is valid and accessible. |
PathValidatorInterface::getUrlIfValidWithoutAccessCheck | function | core/ |
Returns a URL object, if the path is valid. |
PathValidatorInterface::isValid | function | core/ |
Checks if the URL path is valid and accessible by the current user. |
PathValidatorTest | class | core/ |
Tests the path validator. |
PathValidatorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Path\PathValidator @group Routing |
PathValidatorTest.php | file | core/ |
|
PathValidatorTest.php | file | core/ |
|
PathValidatorTest::$accessAwareRouter | property | core/ |
The mocked access aware router. |
PathValidatorTest::$accessUnawareRouter | property | core/ |
The mocked access unaware router. |
PathValidatorTest::$account | property | core/ |
The mocked account. |
PathValidatorTest::$modules | property | core/ |
Modules to install. |
PathValidatorTest::$pathProcessor | property | core/ |
The path processor. |
PathValidatorTest::$pathValidator | property | core/ |
The tested path validator. |
PathValidatorTest::setUp | function | core/ |
|
PathValidatorTest::setUp | function | core/ |
|
PathValidatorTest::testGetUrlIfValidWithAccess | function | core/ |
Tests the getUrlIfValid() method when there is access. |
PathValidatorTest::testGetUrlIfValidWithFrontPageAndQueryAndFragments | function | core/ |
Tests the getUrlIfValid() method with a front page + query + fragments. |
PathValidatorTest::testGetUrlIfValidWithoutAccess | function | core/ |
Tests the getUrlIfValid() method where there is no access. |
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck | function | core/ |
|
PathValidatorTest::testGetUrlIfValidWithoutAccessCheck | function | core/ |
Tests the getUrlIfValidWithoutAccessCheck() method. |
PathValidatorTest::testGetUrlIfValidWithQuery | function | core/ |
Tests the getUrlIfValid() method with a query in the path. |
PathValidatorTest::testIsValidWithAccessDenied | function | core/ |
Tests the isValid() method with a user without access to the path. |
PathValidatorTest::testIsValidWithExternalUrl | function | core/ |
Tests the isValid() method for an external URL. |
PathValidatorTest::testIsValidWithFailingParameterConverting | function | core/ |
Tests the isValid() method with a not working param converting. |
PathValidatorTest::testIsValidWithFrontpage | function | core/ |
Tests the isValid() method for the frontpage. |
PathValidatorTest::testIsValidWithInvalidExternalUrl | function | core/ |
Tests the isValid() method with an invalid external URL. |
PathValidatorTest::testIsValidWithLinkToAnyPageAccount | function | core/ |
Tests the isValid() method with a 'link to any page' permission. |
PathValidatorTest::testIsValidWithMethodNotAllowed | function | core/ |
@covers ::isValid @covers ::getPathAttributes |
PathValidatorTest::testIsValidWithNone | function | core/ |
Tests the isValid() method for <none> (used for jump links). |
PathValidatorTest::testIsValidWithNotExistingPath | function | core/ |
Tests the isValid() method with a non-existent path. |
PathValidatorTest::testIsValidWithoutLinkToAnyPageAccount | function | core/ |
Tests the isValid() method without the 'link to any page' permission. |
PathValidatorTest::testIsValidWithParamNotConverted | function | core/ |
@covers ::isValid @covers ::getPathAttributes |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.