UrlTest::$router |
property |
core/tests/Drupal/Tests/Core/UrlTest.php |
The router. |
UrlTest::$urlGenerator |
property |
core/tests/Drupal/Tests/Core/UrlTest.php |
The URL generator. |
UrlTest::accessProvider |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for the access test methods. |
UrlTest::getMockAccessManager |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Creates a mock access manager for the access tests. |
UrlTest::hasAttribute |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Checks for class existence in link. |
UrlTest::providerFromInvalidInternalUri |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testFromInvalidInternalUri(). |
UrlTest::providerFromValidInternalUri |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testFromValidInternalUri(). |
UrlTest::providerTestEntityUris |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testing entity URIs. |
UrlTest::providerTestToUriStringForEntity |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testing string entity URIs. |
UrlTest::providerTestToUriStringForInternal |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testing internal URIs. |
UrlTest::providerTestToUriStringForRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Data provider for testing route: URIs. |
UrlTest::setUp |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
|
UrlTest::testAccessRouted |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the access() method for routed URLs. |
UrlTest::testAccessUnrouted |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the access() method for unrouted URLs (they always have access). |
UrlTest::testActiveLinkAttributes |
function |
core/modules/system/tests/src/Functional/Common/UrlTest.php |
Tests the active class in links. |
UrlTest::testCreateFromRequest |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the createFromRequest method. |
UrlTest::testDrupalGetQueryParameters |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests UrlHelper::filterQueryParameters(). |
UrlTest::testDrupalParseUrl |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests UrlHelper::parse(). |
UrlTest::testEntityUris |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUri() method with an entity: URI. |
UrlTest::testExternalUrls |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests external URL handling. |
UrlTest::testFormUrl |
function |
core/modules/system/tests/src/Functional/Form/UrlTest.php |
Tests that #type 'url' fields are properly validated and trimmed. |
UrlTest::testFromInvalidInternalUri |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUri() method with an invalid internal: URI. |
UrlTest::testFromInvalidUserInput |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUserInput method with invalid paths. |
UrlTest::testFromRoutedPathWithInvalidRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests fromUri() method with a user-entered path not matching any route. |
UrlTest::testFromRoutedPathWithValidRoute |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests fromUri() method with user-entered path matching a valid route. |
UrlTest::testFromRouteFront |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromRoute() method with the special <front> path. |
UrlTest::testFromRouteMatch |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromRouteMatch() method. |
UrlTest::testFromRouteUriWithMissingRouteName |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
@covers ::fromUri |
UrlTest::testFromUriNumber |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUri() method with a base: URI starting with a number. |
UrlTest::testFromUserInput |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUserInput method with valid paths. |
UrlTest::testFromValidInternalUri |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUri() method with a valid internal: URI. |
UrlTest::testGetInternalPath |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getInternalPath method(). |
UrlTest::testGetOptions |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getOptions() method. |
UrlTest::testGetRouteName |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteName() method. |
UrlTest::testGetRouteNameWithExternalUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteName() with an external URL. |
UrlTest::testGetRouteParameters |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteParameters() method. |
UrlTest::testGetRouteParametersWithExternalUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getRouteParameters() with an external URL. |
UrlTest::testGetUriForExternalUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getUri() method for external URLs. |
UrlTest::testGetUriForInternalUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getUri() method for internal URLs. |
UrlTest::testGetUriForProtocolRelativeUrl |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the getUri() and isExternal() methods for protocol-relative URLs. |
UrlTest::testInvalidEntityUriParameter |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the fromUri() method with an invalid entity: URI. |
UrlTest::testIsExternal |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the isExternal() method. |
UrlTest::testLinkAttributes |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests that default and custom attributes are handled correctly on links. |
UrlTest::testLinkBubbleableMetadata |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests that #type=link bubbles outbound route/path processors' metadata. |
UrlTest::testLinkRenderArrayText |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Tests that link functions support render arrays as 'text'. |
UrlTest::testLinkXSS |
function |
core/modules/system/tests/src/Kernel/Common/UrlTest.php |
Confirms that invalid URLs are filtered in link generating functions. |
UrlTest::testMergeOptions |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the mergeOptions() method. |
UrlTest::testRenderAccess |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the renderAccess() method. |
UrlTest::testSetOptions |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests the setOptions() method. |
UrlTest::testToRenderArray |
function |
core/tests/Drupal/Tests/Core/UrlTest.php |
Tests deprecation of toRenderArray() method. |