Search for to
- Search 7.x for to
- Search 9.5.x for to
- Search 8.9.x for to
- Search 10.3.x for to
- Search 11.x for to
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| UrlGenerator::generate | function | core/ |
|
| UrlGenerator::generateFromRoute | function | core/ |
|
| UrlGenerator::getContext | function | core/ |
|
| UrlGenerator::getInternalPathFromRoute | function | core/ |
Gets the path of a route. |
| UrlGenerator::getPathFromRoute | function | core/ |
|
| UrlGenerator::getRoute | function | core/ |
Find the route using the provided route name. |
| UrlGenerator::isStrictRequirements | function | core/ |
|
| UrlGenerator::processPath | function | core/ |
Passes the path to a processor manager to allow alterations. |
| UrlGenerator::processRoute | function | core/ |
Passes the route to the processor manager for altering before compilation. |
| UrlGenerator::setContext | function | core/ |
|
| UrlGenerator::setStrictRequirements | function | core/ |
|
| 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 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::setUpMockRouteProcessorManager | function | core/ |
Reinitializes the route processor manager as a mock object. |
| 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/ |
Tests generate with path processor changing options. |
| UrlGeneratorTest::testGenerateWithRouteNameInOptions | function | core/ |
Tests that route name and parameters are passed to path processors. |
| 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/ |
Tests url generation with disabled path processing. |
| UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute | function | core/ |
Tests url generation with disabled path processing by route. |
| UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing | function | core/ |
Tests url generation with disabled path processing by route and opted in path processing. |
| 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. |
Pagination
- Previous page
- Page 262
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.