Search for url

  1. Search 7.x for url
  2. Search 9.5.x for url
  3. Search 8.9.x for url
  4. Search 10.3.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 a 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
UrlTest::testGetRouteParameters function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteParameters() method.
UrlTest::testGetRouteParametersWithExternalUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getRouteParameters() with an external URL.
UrlTest::testGetUriForExternalUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getUri() method for external URLs.
UrlTest::testGetUriForInternalUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getUri() method for internal URLs.
UrlTest::testGetUriForProtocolRelativeUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getUri() and isExternal() methods for protocol-relative URLs.
UrlTest::testInvalidEntityUriParameter function core/tests/Drupal/Tests/Core/UrlTest.php Tests the fromUri() method with an invalid entity: URI.
UrlTest::testIsExternal function core/tests/Drupal/Tests/Core/UrlTest.php Tests the isExternal() method.
UrlTest::testLinkAttributes function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that default and custom attributes are handled correctly on links.
UrlTest::testLinkBubbleableMetadata function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that #type=link bubbles outbound route/path processors' metadata.
UrlTest::testLinkRenderArrayText function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that link functions support render arrays as 'text'.
UrlTest::testLinkXSS function core/modules/system/tests/src/Kernel/Common/UrlTest.php Confirms that invalid URLs are filtered in link generating functions.
UrlTest::testMergeOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the mergeOptions() method.
UrlTest::testSetOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the setOptions() method.
UrlTest::testToString function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toString() method.
UrlTest::testToUriStringForEntity function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toUriString() method with entity: URIs.
UrlTest::testToUriStringForInternal function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toUriString() method with internal: URIs.
UrlTest::testToUriStringForRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toUriString() method with route: URIs.
UrlTest::testUrlFromRequest function core/tests/Drupal/Tests/Core/UrlTest.php Tests creating a URL from a request.
UrlTest::testUrlFromRequestInvalid function core/tests/Drupal/Tests/Core/UrlTest.php Tests that an invalid request will thrown an exception.
UrlTransformRelativeTest class core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php Tests URL transform to relative.
UrlTransformRelativeTest.php file core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php
UrlTransformRelativeTest::$modules property core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php Modules to install.
UrlTransformRelativeTest::providerFileUrlTransformRelative function core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php Provides data for testing URL transformation.
UrlTransformRelativeTest::testFileUrlTransformRelative function core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php Tests transformRelative() function.
url_alter_test.info.yml file core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml core/modules/system/tests/modules/url_alter_test/url_alter_test.info.yml
url_alter_test.path_processor service core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml Drupal\url_alter_test\PathProcessorTest
url_alter_test.services.yml file core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml
url_generator service core/core.services.yml Drupal\Core\Render\MetadataBubblingUrlGenerator
url_generator.non_bubbling service core/core.services.yml Drupal\Core\Routing\UrlGenerator
UserAuthTest::testAddCheckToUrlForTrustedRedirectResponse function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the auth that ends in a redirect from subdomain to TLD.
UserAuthTest::testAddCheckToUrlForTrustedRedirectResponseWithFragment function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the auth that ends in a redirect from subdomain with a fragment to TLD.
UserCancelForm::getCancelUrl function core/modules/user/src/Form/UserCancelForm.php Returns the route to go to if the user cancels the action.
UserLoginHttpTest::getLoginStatusUrlString function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Gets the URL string for checking login for a given serialization format.
UserLogoutConfirm::getCancelUrl function core/modules/user/src/Form/UserLogoutConfirm.php Returns the route to go to if the user cancels the action.
UserMultipleCancelConfirm::getCancelUrl function core/modules/user/src/Form/UserMultipleCancelConfirm.php Returns the route to go to if the user cancels the action.
UserPasswordResetTest::getResetURL function core/modules/user/tests/src/FunctionalJavascript/UserPasswordResetTest.php Retrieves password reset email and extracts the login link.
UserPasswordResetTest::getResetURL function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Retrieves password reset email and extracts the login link.
user_cancel_url function core/modules/user/user.module Generates a URL to confirm an account cancellation request.
user_pass_reset_url function core/modules/user/user.module Generates a unique URL for a user to log in and reset their password.
ViewExecutable::$override_url property core/modules/views/src/ViewExecutable.php Allow to override the \Drupal\Core\Url of the current view.
ViewExecutable::getUrl function core/modules/views/src/ViewExecutable.php Gets the URL for the current view.
ViewExecutable::getUrlInfo function core/modules/views/src/ViewExecutable.php Gets the Url object associated with the display handler.
ViewExecutable::hasUrl function core/modules/views/src/ViewExecutable.php Determines whether you can link to the view or a particular display.
ViewExecutableTest::testGetUrlWithoutRouterDisplay function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
ViewExecutableTest::testGetUrlWithOverriddenUrl function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
ViewExecutableTest::testGetUrlWithPathNoPlaceholders function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
ViewExecutableTest::testGetUrlWithPlaceholdersAndArgs function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
ViewExecutableTest::testGetUrlWithPlaceholdersAndWithoutArgs function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
ViewExecutableTest::testGetUrlWithPlaceholdersAndWithoutArgsAndExceptionValue function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
ViewsForm::$urlGenerator property core/modules/views/src/Form/ViewsForm.php The URL generator to generate the form action.

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