Search for url

  1. Search 7.x for url
  2. Search 9.5.x for url
  3. Search 10.3.x for url
  4. Search 11.x for url
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Url class core/modules/views/src/Plugin/views/field/Url.php Field handler to provide simple renderer that turns a URL into a clickable link.
Url class core/lib/Drupal/Core/Render/Element/Url.php Provides a form element for input of a URL.
Url class core/lib/Drupal/Core/Url.php Defines an object that holds information about a URL.

All search results

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.