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 |
|---|---|---|---|
| UrlGeneratorTest::testGetPathFromRouteTrailing | function | core/ |
Tests URL generation from route with trailing start and end slashes. |
| UrlGeneratorTest::testGetPathFromRouteWithSubdirectory | function | core/ |
Tests URL generation in a subdirectory. |
| UrlGeneratorTest::testNoPath | function | core/ |
Tests generating a relative URL with no path. |
| UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessing | function | core/ |
@covers ::generateFromRoute[[api-linebreak]] |
| UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute | function | core/ |
@covers ::generateFromRoute[[api-linebreak]] |
| UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing | function | core/ |
@covers ::generateFromRoute[[api-linebreak]] |
| UrlGeneratorTest::testUrlGenerationWithHttpsRequirement | function | core/ |
Test that the 'scheme' route requirement is respected during url generation. |
| UrlGeneratorTrait | trait | core/ |
Wrapper methods for the Url Generator. |
| UrlGeneratorTrait.php | file | core/ |
|
| UrlGeneratorTrait::$urlGenerator | property | core/ |
The url generator. |
| UrlGeneratorTrait::getUrlGenerator | function | core/ |
Returns the URL generator service. |
| UrlGeneratorTrait::redirect | function | core/ |
Returns a redirect response object for the specified route. |
| UrlGeneratorTrait::setUrlGenerator | function | core/ |
Sets the URL generator service. |
| UrlGeneratorTrait::url | function | core/ |
Generates a URL or path for a specific route based on the given parameters. |
| UrlGeneratorTraitTest | class | core/ |
@coversDefaultClass \Drupal\Core\Routing\UrlGeneratorTrait[[api-linebreak]] @group Routing @group legacy |
| UrlGeneratorTraitTest.php | file | core/ |
|
| UrlGeneratorTraitTest::testGetUrlGenerator | function | core/ |
@covers ::setUrlGenerator[[api-linebreak]] @covers ::getUrlGenerator[[api-linebreak]] |
| UrlGeneratorTraitTest::testRedirect | function | core/ |
@covers ::redirect[[api-linebreak]] |
| UrlGeneratorTraitTest::testUrl | function | core/ |
@covers ::url[[api-linebreak]] |
| UrlHelper | class | core/ |
Helper class URL based methods. |
| UrlHelper.php | file | core/ |
|
| UrlHelper::$allowedProtocols | property | core/ |
The list of allowed protocols. |
| UrlHelper::buildQuery | function | core/ |
Parses an array into a valid, rawurlencoded query string. |
| UrlHelper::encodePath | function | core/ |
Encodes a Drupal path for use in a URL. |
| UrlHelper::externalIsLocal | function | core/ |
Determines if an external URL points to this installation. |
| UrlHelper::filterBadProtocol | function | core/ |
Processes an HTML attribute value and strips dangerous protocols from URLs. |
| UrlHelper::filterQueryParameters | function | core/ |
Filters a URL query parameter array to remove unwanted elements. |
| UrlHelper::getAllowedProtocols | function | core/ |
Gets the allowed protocols. |
| UrlHelper::isExternal | function | core/ |
Determines whether a path is external to Drupal. |
| UrlHelper::isValid | function | core/ |
Verifies the syntax of the given URL. |
| UrlHelper::parse | function | core/ |
Parses a URL string into its path, query, and fragment components. |
| UrlHelper::setAllowedProtocols | function | core/ |
Sets the allowed protocols. |
| UrlHelper::stripDangerousProtocols | function | core/ |
Strips dangerous protocols (for example, 'javascript:') from a URI. |
| UrlHelperTest | class | core/ |
@group Utility |
| UrlHelperTest.php | file | core/ |
|
| UrlHelperTest::dataEnhanceWithPrefix | function | core/ |
Enhances test urls with prefixes. |
| UrlHelperTest::dataEnhanceWithScheme | function | core/ |
Enhances test urls with schemes |
| UrlHelperTest::providerTestBuildQuery | function | core/ |
Provides test data for testBuildQuery(). |
| UrlHelperTest::providerTestEncodePath | function | core/ |
Provides data for self::testEncodePath(). |
| UrlHelperTest::providerTestExternalIsLocal | function | core/ |
Provider for local external url detection. |
| UrlHelperTest::providerTestExternalIsLocalInvalid | function | core/ |
Provides invalid argument data for local external url detection. |
| UrlHelperTest::providerTestFilterBadProtocol | function | core/ |
Provides data for self::testTestFilterBadProtocol(). |
| UrlHelperTest::providerTestFilterQueryParameters | function | core/ |
Provides data to self::testFilterQueryParameters(). |
| UrlHelperTest::providerTestInvalidAbsolute | function | core/ |
Provides data for testInvalidAbsolute(). |
| UrlHelperTest::providerTestInvalidRelativeData | function | core/ |
Provides data for testInvalidRelative(). |
| UrlHelperTest::providerTestIsExternal | function | core/ |
Provides data for self::testIsExternal(). |
| UrlHelperTest::providerTestParse | function | core/ |
Provides data for self::testParse(). |
| UrlHelperTest::providerTestStripDangerousProtocols | function | core/ |
Provides data for self::testStripDangerousProtocols(). |
| UrlHelperTest::providerTestValidAbsoluteData | function | core/ |
Data provider for testValidAbsolute(). |
| UrlHelperTest::providerTestValidRelativeData | function | core/ |
Provides data for testValidRelative(). |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.