Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| 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 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::testEncodingOfChainedRelativePathSegments | function | core/ |
Tests generate with chained relative path segments. |
| 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 | 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 query string encoded with rawurlencode(). |
| UrlHelper::compressQueryParameter | function | core/ |
Compresses a string for use in a query parameter. |
| 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. |
Pagination
- Previous page
- Page 1726
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.