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
UrlResolverTest::setUp function core/modules/media/tests/src/Functional/UrlResolverTest.php
UrlResolverTest::testEndpointMatching function core/modules/media/tests/src/Functional/UrlResolverTest.php Tests resource URL resolution when the asset URL can be matched to a
provider endpoint.
UrlResolverTest::testResourceUrlAlterHook function core/modules/media/tests/src/Functional/UrlResolverTest.php Tests that hook_oembed_resource_url_alter() is invoked.
UrlResolverTest::testUrlDiscovery function core/modules/media/tests/src/Functional/UrlResolverTest.php Tests URL resolution when the resource URL must be actively discovered by
scanning the asset.
UrlRewritingTest class core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php Tests for file URL rewriting.
UrlRewritingTest.php file core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php
UrlRewritingTest::$modules property core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php Modules to enable.
UrlRewritingTest::testPublicManagedFileURL function core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php Tests the rewriting of public managed file URLs by hook_file_url_alter().
UrlRewritingTest::testRelativeFileURL function core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php Test file_url_transform_relative().
UrlRewritingTest::testShippedFileURL function core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php Tests the rewriting of shipped file URLs by hook_file_url_alter().
UrlTest class core/tests/Drupal/Tests/Core/UrlTest.php @coversDefaultClass \Drupal\Core\Url
@group UrlTest
UrlTest class core/modules/system/tests/src/Functional/Form/UrlTest.php Tests the form API URL element.
UrlTest class core/modules/system/tests/src/Functional/Common/UrlTest.php Confirm that \Drupal\Core\Url,
\Drupal\Component\Utility\UrlHelper::filterQueryParameters(),
\Drupal\Component\Utility\UrlHelper::buildQuery(), and
\Drupal\Core\Utility\LinkGeneratorInterface::generate()
work correctly with various input.
UrlTest.php file core/modules/system/tests/src/Functional/Form/UrlTest.php
UrlTest.php file core/modules/system/tests/src/Functional/Common/UrlTest.php
UrlTest.php file core/tests/Drupal/Tests/Core/UrlTest.php Contains \Drupal\Tests\Core\UrlTest.
UrlTest::$container property core/tests/Drupal/Tests/Core/UrlTest.php
UrlTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/UrlTest.php The theme to install as the default for testing.
UrlTest::$defaultTheme property core/modules/system/tests/src/Functional/Common/UrlTest.php The theme to install as the default for testing.
UrlTest::$map property core/tests/Drupal/Tests/Core/UrlTest.php An array of values to use for the test.
UrlTest::$modules property core/modules/system/tests/src/Functional/Form/UrlTest.php Modules to enable.
UrlTest::$modules property core/modules/system/tests/src/Functional/Common/UrlTest.php Modules to enable.
UrlTest::$pathAliasManager property core/tests/Drupal/Tests/Core/UrlTest.php The path alias manager.
UrlTest::$pathValidator property core/tests/Drupal/Tests/Core/UrlTest.php The mocked path validator.
UrlTest::$profile property core/modules/system/tests/src/Functional/Form/UrlTest.php The profile to install as a basis for testing.
UrlTest::$router property core/tests/Drupal/Tests/Core/UrlTest.php The router.
UrlTest::$urlGenerator property core/tests/Drupal/Tests/Core/UrlTest.php The URL generator
UrlTest::accessProvider function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for the access test methods.
UrlTest::getMockAccessManager function core/tests/Drupal/Tests/Core/UrlTest.php Creates a mock access manager for the access tests.
UrlTest::getRequestConstraint function core/tests/Drupal/Tests/Core/UrlTest.php This constraint checks whether a Request object has the right path.
UrlTest::hasAttribute function core/modules/system/tests/src/Functional/Common/UrlTest.php Checks for class existence in link.
UrlTest::providerFromInvalidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testFromInvalidInternalUri().
UrlTest::providerFromValidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testFromValidInternalUri().
UrlTest::providerTestEntityUris function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing entity URIs
UrlTest::providerTestToUriStringForEntity function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing string entity URIs
UrlTest::providerTestToUriStringForInternal function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing internal URIs.
UrlTest::providerTestToUriStringForRoute function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing route: URIs.
UrlTest::setUp function core/tests/Drupal/Tests/Core/UrlTest.php
UrlTest::testAccessRouted function core/tests/Drupal/Tests/Core/UrlTest.php Tests the access() method for routed URLs.
UrlTest::testAccessUnrouted function core/tests/Drupal/Tests/Core/UrlTest.php Tests the access() method for unrouted URLs (they always have access).
UrlTest::testCreateFromRequest function core/tests/Drupal/Tests/Core/UrlTest.php Tests the createFromRequest method.
UrlTest::testDrupalGetQueryParameters function core/modules/system/tests/src/Functional/Common/UrlTest.php Tests UrlHelper::filterQueryParameters().
UrlTest::testDrupalParseUrl function core/modules/system/tests/src/Functional/Common/UrlTest.php Tests UrlHelper::parse().
UrlTest::testEntityUris function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with an entity: URI.
UrlTest::testExternalUrls function core/modules/system/tests/src/Functional/Common/UrlTest.php Tests external URL handling.
UrlTest::testFormUrl function core/modules/system/tests/src/Functional/Form/UrlTest.php Tests that #type 'url' fields are properly validated and trimmed.
UrlTest::testFromInvalidInternalUri function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with an invalid internal: URI.
UrlTest::testFromInvalidUserInput function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUserInput method with invalid paths.
UrlTest::testFromRoutedPathWithInvalidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with a user-entered path not matching any route.
UrlTest::testFromRoutedPathWithValidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with user-entered path matching a valid route.

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