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 11.x for to
  6. Other projects
Title Object type File name Summary
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 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::setUpMockPathValidator function core/tests/Drupal/Tests/Core/UrlTest.php Reinitializes the path validator as a mock object.
UrlTest::setUpMockUrlGenerator function core/tests/Drupal/Tests/Core/UrlTest.php Reinitializes the URL generator as a mock object.
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.
UserAuthenticationController::$userStorage property core/modules/user/src/Controller/UserAuthenticationController.php The user storage.
UserAuthenticationTest::$userStorage property core/modules/user/tests/src/Unit/UserAuthenticationTest.php The mock user storage.
UserAuthenticationTest::testAddCheckToUrlForTrustedRedirectResponse function core/modules/user/tests/src/Unit/UserAuthenticationTest.php Tests the auth that ends in a redirect from subdomain to TLD.
UserAuthenticationTest::testAddCheckToUrlForTrustedRedirectResponseWithFragment function core/modules/user/tests/src/Unit/UserAuthenticationTest.php Tests the auth that ends in a redirect from subdomain with a fragment to TLD.
UserAuthTest::$userStorage property core/modules/user/tests/src/Unit/UserAuthTest.php The mock user storage.
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.

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