Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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::testRenderAccess function core/tests/Drupal/Tests/Core/UrlTest.php Tests the renderAccess() 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 enable.
UrlTransformRelativeTest::providerFileUrlTransformRelative function core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php
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.install file core/modules/system/tests/modules/url_alter_test/url_alter_test.install Install hooks for test module.
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_alter_test_install function core/modules/system/tests/modules/url_alter_test/url_alter_test.install Implements hook_install().
url_generator service core/core.services.yml Drupal\Core\Render\MetadataBubblingUrlGenerator
url_generator.non_bubbling service core/core.services.yml Drupal\Core\Routing\UrlGenerator
USAGE.txt file core/USAGE.txt CONFIGURATION AND FEATURES
--------------------------

Drupal core (what you get when you download and extract a drupal-x.y.tar.gz or
drupal-x.y.zip file from https://www.drupal.org/project/drupal) has what you
need to get started with your website.…
UsageTest class core/modules/file/tests/src/Kernel/UsageTest.php Tests file usage functions.
UsageTest.php file core/modules/file/tests/src/Kernel/UsageTest.php
UsageTest::createTempFiles function core/modules/file/tests/src/Kernel/UsageTest.php Create files for all the possible combinations of age and status.
UsageTest::doTestRemoveUsage function core/modules/file/tests/src/Kernel/UsageTest.php Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
UsageTest::testAddUsage function core/modules/file/tests/src/Kernel/UsageTest.php Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::add().
UsageTest::testFileUsageWithEntityTranslation function core/modules/file/tests/src/Kernel/UsageTest.php Tests file usage with translated entities.
UsageTest::testGetUsage function core/modules/file/tests/src/Kernel/UsageTest.php Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage().
UsageTest::testRemoveUsageNonTemporary function core/modules/file/tests/src/Kernel/UsageTest.php Tests file usage deletion when files are made temporary.
UsageTest::testRemoveUsageTemporary function core/modules/file/tests/src/Kernel/UsageTest.php Tests file usage deletion when files are made temporary.
UsageTest::testTempFileCleanupDefault function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are removed by default.
UsageTest::testTempFileCustomCleanup function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are kept as configured.
UsageTest::testTempFileNoCleanup function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are kept as configured.
UseCacheBackendTrait trait core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php Provides methods to use a cache backend while respecting a 'use caches' flag.
UseCacheBackendTrait.php file core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php
UseCacheBackendTrait::$cacheBackend property core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php Cache backend instance.
UseCacheBackendTrait::$useCaches property core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php Flag whether caches should be used or skipped.
UseCacheBackendTrait::cacheGet function core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php Fetches from the cache backend, respecting the use caches flag.
UseCacheBackendTrait::cacheSet function core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php Stores data in the persistent cache, respecting the use caches flag.
User class core/modules/user/src/Plugin/views/argument_default/User.php Default argument plugin to extract a user from request.

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