Search for url
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Url | class | core/ |
Field handler to provide simple renderer that turns a URL into a clickable link. |
Url | class | core/ |
Provides a form element for input of a URL. |
Url | class | core/ |
Defines an object that holds information about a URL. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
UrlResolverTest::setUp | function | core/ |
|
UrlResolverTest::testEndpointMatching | function | core/ |
Tests resource URL resolution when the asset URL can be matched to a provider endpoint. |
UrlResolverTest::testResourceUrlAlterHook | function | core/ |
Tests that hook_oembed_resource_url_alter() is invoked. |
UrlResolverTest::testUrlDiscovery | function | core/ |
Tests URL resolution when the resource URL must be actively discovered by scanning the asset. |
UrlRewritingTest | class | core/ |
Tests for file URL rewriting. |
UrlRewritingTest.php | file | core/ |
|
UrlRewritingTest::$modules | property | core/ |
Modules to enable. |
UrlRewritingTest::testPublicManagedFileURL | function | core/ |
Tests the rewriting of public managed file URLs by hook_file_url_alter(). |
UrlRewritingTest::testRelativeFileURL | function | core/ |
Test file_url_transform_relative(). |
UrlRewritingTest::testShippedFileURL | function | core/ |
Tests the rewriting of shipped file URLs by hook_file_url_alter(). |
UrlTest | class | core/ |
@coversDefaultClass \Drupal\Core\Url @group UrlTest |
UrlTest | class | core/ |
Tests the form API URL element. |
UrlTest | class | core/ |
Confirm that \Drupal\Core\Url, \Drupal\Component\Utility\UrlHelper::filterQueryParameters(), \Drupal\Component\Utility\UrlHelper::buildQuery(), and \Drupal\Core\Utility\LinkGeneratorInterface::generate() work correctly with various input. |
UrlTest.php | file | core/ |
|
UrlTest.php | file | core/ |
|
UrlTest.php | file | core/ |
Contains \Drupal\Tests\Core\UrlTest. |
UrlTest::$container | property | core/ |
|
UrlTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
UrlTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
UrlTest::$map | property | core/ |
An array of values to use for the test. |
UrlTest::$modules | property | core/ |
Modules to enable. |
UrlTest::$modules | property | core/ |
Modules to enable. |
UrlTest::$pathAliasManager | property | core/ |
The path alias manager. |
UrlTest::$pathValidator | property | core/ |
The mocked path validator. |
UrlTest::$profile | property | core/ |
The profile to install as a basis for testing. |
UrlTest::$router | property | core/ |
The router. |
UrlTest::$urlGenerator | property | core/ |
The URL generator |
UrlTest::accessProvider | function | core/ |
Data provider for the access test methods. |
UrlTest::getMockAccessManager | function | core/ |
Creates a mock access manager for the access tests. |
UrlTest::getRequestConstraint | function | core/ |
This constraint checks whether a Request object has the right path. |
UrlTest::hasAttribute | function | core/ |
Checks for class existence in link. |
UrlTest::providerFromInvalidInternalUri | function | core/ |
Data provider for testFromInvalidInternalUri(). |
UrlTest::providerFromValidInternalUri | function | core/ |
Data provider for testFromValidInternalUri(). |
UrlTest::providerTestEntityUris | function | core/ |
Data provider for testing entity URIs |
UrlTest::providerTestToUriStringForEntity | function | core/ |
Data provider for testing string entity URIs |
UrlTest::providerTestToUriStringForInternal | function | core/ |
Data provider for testing internal URIs. |
UrlTest::providerTestToUriStringForRoute | function | core/ |
Data provider for testing route: URIs. |
UrlTest::setUp | function | core/ |
|
UrlTest::testAccessRouted | function | core/ |
Tests the access() method for routed URLs. |
UrlTest::testAccessUnrouted | function | core/ |
Tests the access() method for unrouted URLs (they always have access). |
UrlTest::testCreateFromRequest | function | core/ |
Tests the createFromRequest method. |
UrlTest::testDrupalGetQueryParameters | function | core/ |
Tests UrlHelper::filterQueryParameters(). |
UrlTest::testDrupalParseUrl | function | core/ |
Tests UrlHelper::parse(). |
UrlTest::testEntityUris | function | core/ |
Tests the fromUri() method with an entity: URI. |
UrlTest::testExternalUrls | function | core/ |
Tests external URL handling. |
UrlTest::testFormUrl | function | core/ |
Tests that #type 'url' fields are properly validated and trimmed. |
UrlTest::testFromInvalidInternalUri | function | core/ |
Tests the fromUri() method with an invalid internal: URI. |
UrlTest::testFromInvalidUserInput | function | core/ |
Tests the fromUserInput method with invalid paths. |
UrlTest::testFromRoutedPathWithInvalidRoute | function | core/ |
Tests fromUri() method with a user-entered path not matching any route. |
UrlTest::testFromRoutedPathWithValidRoute | function | core/ |
Tests fromUri() method with user-entered path matching a valid route. |
Pagination
- Previous page
- Page 20
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.