Search for user

  1. Search 7.x for user
  2. Search 9.5.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 An 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.
InlineBlock::$currentUser property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php The current user.
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::$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.
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.
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.
LanguageNegotiatorInterface::setCurrentUser function core/modules/language/src/LanguageNegotiatorInterface.php Sets the current active user and resets all language types.
LanguageRequestSubscriber::$currentUser property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The current active user.
LanguageTourTest::$adminUser property core/modules/language/tests/src/Functional/LanguageTourTest.php An admin user with administrative permissions for views.
LanguageUILanguageNegotiationTest::$adminUser property core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php The admin user for testing.
LanguageUrlRewritingTest::$webUser property core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php An user with permissions to administer languages.
LayoutBuilderQuickEditTest::$contentAuthorUser property core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php A user with permissions to edit Articles and use Quick Edit.
LinkAccessConstraintValidator::$current_user property core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Proxy for the current user account.

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