Search for user

  1. Search 7.x for user
  2. Search 8.9.x for user
  3. Search 10.3.x for user
  4. Search 11.x for user
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
User class core/modules/user/src/Entity/User.php Defines the user entity class.
User class core/modules/user/src/Plugin/views/argument_validator/User.php Validate whether an argument is a valid user.
User class core/modules/user/src/Plugin/views/argument_default/User.php Default argument plugin to extract a user from request.
User class core/modules/user/src/Plugin/migrate/source/d6/User.php Drupal 6 user source from database.
User class core/modules/user/src/Plugin/migrate/source/d7/User.php Drupal 7 user source from database.
User class core/modules/user/src/Plugin/migrate/User.php Plugin class for Drupal 7 user migrations dealing with fields and profiles.

All search results

Title Object type File name Summary
ImageFieldTestBase::$adminUser property core/modules/image/tests/src/Functional/ImageFieldTestBase.php A user with permissions to administer content types and image styles.
ImageFormatter::$currentUser property core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php The current user.
ImageTestBase::$adminUser property core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php The user to use during testing.
ImageUploadTest::$user property core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php A user without any particular permissions to be used in testing.
ImageUrlFormatter::$currentUser property core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php The current user.
InlineBlock::$currentUser property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The current user.
InlineFormErrorsIntegrationTest::$editorUser property core/modules/quickedit/tests/src/FunctionalJavascript/InlineFormErrorsIntegrationTest.php An editor user with permissions to access the in-place editor.
InstallHelper::getUser function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Looks up a user by name, if it is missing the user is created.
InstallTest::testEnableUserTwice function core/modules/system/tests/src/Functional/Module/InstallTest.php Tests enabling User module once more.
IntegrationTest::$deniedUser property core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php A test user with node viewing access only.
IntegrationTest::$webUser property core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php Stores the user object that accesses the page.
InternalEntitiesTest::$testUser property core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php A test user.
InvalidUpdateHookTest::$updateUser property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php A user account with upgrade permission.
IsSuperUserCacheContext class core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php Defines the IsSuperUserCacheContext service, for "super user or not" caching.
IsSuperUserCacheContext.php file core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php
IsSuperUserCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php Gets the cacheability metadata for the context.
IsSuperUserCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php Returns the string representation of the cache context.
IsSuperUserCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php Returns the label of the cache context.
JsonApiDocumentTopLevelNormalizerTest::$user property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php A user to normalize.
JsonApiDocumentTopLevelNormalizerTest::$user2 property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php A user.
JsonApiFunctionalTestBase::$user property core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Test user.
JsonApiFunctionalTestBase::$userCanViewProfiles property core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Test user with access to view profiles.
jsonapi_jsonapi_user_filter_access function core/modules/jsonapi/jsonapi.module Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'user'.
jsonapi_test_user.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.info.yml
jsonapi_test_user.module file core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.module Support module for JSON:API user hooks testing.
jsonapi_test_user_user_format_name_alter function core/modules/jsonapi/tests/modules/jsonapi_test_user/jsonapi_test_user.module Implements hook_user_format_name_alter().
LanguageConfigSchemaTest::$adminUser property core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php A user with administrative permissions.
LanguageNegotiationMethodBase::$currentUser property core/modules/language/src/LanguageNegotiationMethodBase.php The current active user.
LanguageNegotiationMethodBase::setCurrentUser function core/modules/language/src/LanguageNegotiationMethodBase.php Injects the current user.
LanguageNegotiationMethodInterface::setCurrentUser function core/modules/language/src/LanguageNegotiationMethodInterface.php Injects the current user.
LanguageNegotiationSessionTest::$adminUser property core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php An administrative user to configure the test environment.
LanguageNegotiationUrlTest::$user property core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
LanguageNegotiationUrlTest::$user property core/modules/language/tests/src/Functional/LanguageNegotiationUrlTest.php
LanguageNegotiationUser class core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php Class for identifying language from the user preferences.
LanguageNegotiationUser.php file core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php
LanguageNegotiationUser::getLangcode function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php Performs language negotiation.
LanguageNegotiationUser::METHOD_ID constant core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php The language negotiation method id.
LanguageNegotiationUserAdmin class core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Identifies admin language from the user preferences.
LanguageNegotiationUserAdmin.php file core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php
LanguageNegotiationUserAdmin::$adminContext property core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The admin context.
LanguageNegotiationUserAdmin::$pathProcessorManager property core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The path processor manager.
LanguageNegotiationUserAdmin::$router property core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The router.
LanguageNegotiationUserAdmin::$stackedRouteMatch property core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The stacked route match.
LanguageNegotiationUserAdmin::create function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Creates an instance of the plugin.
LanguageNegotiationUserAdmin::getLangcode function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Performs language negotiation.
LanguageNegotiationUserAdmin::isAdminPath function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Checks whether the given path is an administrative one.
LanguageNegotiationUserAdmin::METHOD_ID constant core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The language negotiation method id.
LanguageNegotiationUserAdmin::__construct function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Constructs a new LanguageNegotiationUserAdmin instance.
LanguageNegotiator::$currentUser property core/modules/language/src/LanguageNegotiator.php The current active user.
LanguageNegotiator::setCurrentUser function core/modules/language/src/LanguageNegotiator.php Sets the current active user and resets all language types.

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