Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| UrlGeneratorTest::testAbsoluteURLGeneration | function | core/ |
Confirms that absolute URLs work with generated routes. |
| UrlGeneratorTest::testAbsoluteURLGenerationUsingInterfaceConstants | function | core/ |
Confirms that absolute URLs work with generated routes using interface constants. |
| UrlGeneratorTest::testAliasGeneration | function | core/ |
Confirms that generated routes will have aliased paths. |
| UrlGeneratorTest::testAliasGenerationUsingInterfaceConstants | function | core/ |
Confirms that generated routes will have aliased paths using interface constants. |
| UrlGeneratorTest::testAliasGenerationWithOptions | function | core/ |
Confirms that generated routes will have aliased paths with options. |
| UrlGeneratorTest::testAliasGenerationWithParameters | function | core/ |
Confirms that generated routes will have aliased paths. |
| UrlGeneratorTest::testBaseURLGeneration | function | core/ |
Confirms that explicitly setting the base_url works with generated routes |
| UrlGeneratorTest::testGenerateWithPathProcessorChangingQueryParameter | function | core/ |
@covers \Drupal\Core\Routing\UrlGenerator::generateFromRoute[[api-linebreak]] |
| 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::$allowedProtocols | property | core/ |
The list of allowed protocols. |
| UrlHelper::filterBadProtocol | function | core/ |
Processes an HTML attribute value and strips dangerous protocols from URLs. |
| UrlHelper::getAllowedProtocols | function | core/ |
Gets the allowed protocols. |
| UrlHelper::setAllowedProtocols | function | core/ |
Sets the allowed protocols. |
| UrlHelper::stripDangerousProtocols | function | core/ |
Strips dangerous protocols (for example, 'javascript:') from a URI. |
| UrlHelperTest::providerTestFilterBadProtocol | function | core/ |
Provides data for self::testTestFilterBadProtocol(). |
| UrlHelperTest::providerTestStripDangerousProtocols | function | core/ |
Provides data for self::testStripDangerousProtocols(). |
| UrlHelperTest::testFilterBadProtocol | function | core/ |
Tests bad protocol filtering and escaping. |
| UrlHelperTest::testStripDangerousProtocols | function | core/ |
Tests dangerous url protocol filtering. |
| UrlTest::$pathValidator | property | core/ |
The mocked path validator. |
| UrlTest::$urlGenerator | property | core/ |
The URL generator |
| 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::testGetOptions | function | core/ |
Tests the getOptions() method. |
| UrlTest::testGetUriForProtocolRelativeUrl | function | core/ |
Tests the getUri() and isExternal() methods for protocol-relative URLs. |
| UrlTest::testSetOptions | function | core/ |
Tests the setOptions() method. |
| UrlTest::testToString | function | core/ |
Tests the toString() method. |
| UrlTest::testToUriStringForEntity | function | core/ |
Tests the toUriString() method with entity: URIs. |
| UrlTest::testToUriStringForInternal | function | core/ |
Tests the toUriString() method with internal: URIs. |
| UrlTest::testToUriStringForRoute | function | core/ |
Tests the toUriString() method with route: URIs. |
| url_generator | service | core/ |
Drupal\Core\Render\MetadataBubblingUrlGenerator |
| url_generator.non_bubbling | service | core/ |
Drupal\Core\Routing\UrlGenerator |
Pagination
- Previous page
- Page 229
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.