Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Search main for to
  6. Other projects
Title Object type File name Summary
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 Tests url generation with disabled path processing.
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests url generation with disabled path processing by route.
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests url generation with disabled path processing by route and opted in path processing.
UrlGeneratorTest::testUrlGenerationWithHttpsRequirement function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests the 'scheme' route requirement during URL generation.
UrlHelper::$allowedProtocols property core/lib/Drupal/Component/Utility/UrlHelper.php The list of allowed protocols.
UrlHelper::filterBadProtocol function core/lib/Drupal/Component/Utility/UrlHelper.php Processes an HTML attribute value and strips dangerous protocols from URLs.
UrlHelper::getAllowedProtocols function core/lib/Drupal/Component/Utility/UrlHelper.php Gets the allowed protocols.
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::providerTestFilterBadProtocol function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testTestFilterBadProtocol().
UrlHelperTest::providerTestStripDangerousProtocols function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testStripDangerousProtocols().
UrlHelperTest::testFilterBadProtocol function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests bad protocol filtering and escaping.
UrlHelperTest::testStripDangerousProtocols function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests dangerous URL protocol filtering.
UrlTest::$pathValidator property core/tests/Drupal/Tests/Core/UrlTest.php The mocked path validator.
UrlTest::$urlGenerator property core/tests/Drupal/Tests/Core/UrlTest.php The URL generator.
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::testGetOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getOptions() method.
UrlTest::testGetUriForProtocolRelativeUrl function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getUri() and isExternal() methods for protocol-relative URLs.
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.
url_generator service core/core.services.yml Drupal\Core\Render\MetadataBubblingUrlGenerator
url_generator.non_bubbling service core/core.services.yml Drupal\Core\Routing\UrlGenerator
UsageTest::testTempFileCustomCleanup function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are kept as configured.
user.name_validator service core/modules/user/user.services.yml Drupal\user\UserNameValidator
user.role.administrator.yml file core/profiles/standard/config/install/user.role.administrator.yml core/profiles/standard/config/install/user.role.administrator.yml
user.role.administrator.yml file core/profiles/demo_umami/config/install/user.role.administrator.yml core/profiles/demo_umami/config/install/user.role.administrator.yml
user.role.administrator.yml file core/profiles/tests/nightwatch_a11y_testing/config/install/user.role.administrator.yml core/profiles/tests/nightwatch_a11y_testing/config/install/user.role.administrator.yml
user.role.administrator.yml file core/recipes/administrator_role/config/user.role.administrator.yml core/recipes/administrator_role/config/user.role.administrator.yml
user.role.content_editor.yml file core/recipes/content_editor_role/config/user.role.content_editor.yml core/recipes/content_editor_role/config/user.role.content_editor.yml
user.role.content_editor.yml file core/profiles/standard/config/install/user.role.content_editor.yml core/profiles/standard/config/install/user.role.content_editor.yml
user.role.editor.yml file core/profiles/demo_umami/config/install/user.role.editor.yml core/profiles/demo_umami/config/install/user.role.editor.yml
user.toolbar_link_builder service core/modules/user/user.services.yml Drupal\user\ToolbarLinkBuilder
User::$userStorage property core/modules/user/src/Plugin/views/argument_validator/User.php The user storage.
User::getRoleStorage function core/modules/user/src/Entity/User.php Returns the role storage object.
User::submitOptionsForm function core/modules/user/src/Plugin/views/argument_validator/User.php Provides the default form for submitting options.
UserAccountFormPasswordResetTest::testPasswordResetToken function core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php Tests the reset token used only from query string.
UserAdminLanguageTest::addCustomLanguage function core/modules/user/tests/src/Functional/UserAdminLanguageTest.php Helper method for adding a custom language.
UserAdminTest::getLinkSelectorForUser function core/modules/user/tests/src/Functional/UserAdminTest.php Gets the xpath selector for a user account.
UserAuthDecorator class core/modules/user/tests/modules/user_auth_decorator_test/src/UserAuthDecorator.php Helper to validate UserAuthInterface BC layers are functional.
UserAuthDecorator.php file core/modules/user/tests/modules/user_auth_decorator_test/src/UserAuthDecorator.php
UserAuthDecorator::authenticate function core/modules/user/tests/modules/user_auth_decorator_test/src/UserAuthDecorator.php Validates user authentication credentials.
UserAuthDecorator::__construct function core/modules/user/tests/modules/user_auth_decorator_test/src/UserAuthDecorator.php Constructs a UserAuthDecorator object.
UserAuthenticationController::$csrfToken property core/modules/user/src/Controller/UserAuthenticationController.php The CSRF token generator.

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