Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 8.9.x for user
  4. Search 10.3.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
InstallTest::testEnableUserTwice function core/modules/system/tests/src/Kernel/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::$adminUser property core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php Test admin 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.
JsonapiHooks::jsonapiUserFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'user'.
JsonapiTestUserHooks class core/modules/jsonapi/tests/modules/jsonapi_test_user/src/Hook/JsonapiTestUserHooks.php Hook implementations for jsonapi_test_user.
JsonapiTestUserHooks.php file core/modules/jsonapi/tests/modules/jsonapi_test_user/src/Hook/JsonapiTestUserHooks.php
JsonapiTestUserHooks::userFormatNameAlter function core/modules/jsonapi/tests/modules/jsonapi_test_user/src/Hook/JsonapiTestUserHooks.php Implements hook_user_format_name_alter().
JsonApiTopLevelResourceNormalizerTest::$user property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A user to normalize.
JsonApiTopLevelResourceNormalizerTest::$user2 property core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php A 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
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().
KernelTestBase::$usesSuperUserAccessPolicy property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to make user 1 a super user.
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 The test user.
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
LanguageNegotiatorInterface::setCurrentUser function core/modules/language/src/LanguageNegotiatorInterface.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.