Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| UrlGenerator::__construct | function | core/ |
Constructs a new generator object. |
| UrlGeneratorInterface | interface | core/ |
Defines an interface for generating a URL from a route or system path. |
| UrlGeneratorInterface.php | file | core/ |
|
| UrlGeneratorInterface::generateFromRoute | function | core/ |
Generates a URL or path for a specific route based on the given parameters. |
| UrlGeneratorInterface::getPathFromRoute | function | core/ |
Gets the internal path (system path) for a route. |
| UrlGeneratorTest | class | core/ |
Confirm that the UrlGenerator is functioning properly. |
| UrlGeneratorTest.php | file | core/ |
|
| UrlGeneratorTest::$aliasManager | property | core/ |
The alias manager. |
| UrlGeneratorTest::$context | property | core/ |
The request context. |
| UrlGeneratorTest::$generator | property | core/ |
The URL generator to test. |
| UrlGeneratorTest::$processorManager | property | core/ |
The path processor. |
| UrlGeneratorTest::$provider | property | core/ |
The route provider. |
| UrlGeneratorTest::$requestStack | property | core/ |
The request stack. |
| UrlGeneratorTest::$routeProcessorManager | property | core/ |
The mock route processor manager. |
| UrlGeneratorTest::aliasManagerCallback | function | core/ |
Return value callback for getAliasByPath() on the mock alias manager. |
| UrlGeneratorTest::assertGenerateFromRoute | function | core/ |
Asserts \Drupal\Core\Routing\UrlGenerator::generateFromRoute()'s output. |
| UrlGeneratorTest::providerTestAliasGenerationWithOptions | function | core/ |
Provides test data for testAliasGenerationWithOptions. |
| UrlGeneratorTest::providerTestNoPath | function | core/ |
Data provider for ::testNoPath(). |
| UrlGeneratorTest::setUp | function | core/ |
|
| 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::testGenerateWithPathProcessorChangingOptions | 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/ |
Tests the 'scheme' route requirement during URL generation. |
| 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. |
Pagination
- Previous page
- Page 239
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.