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
AccessAwareRouterTest::$currentUser property core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php
AccessDeniedTest::$adminUser property core/modules/system/tests/src/Functional/System/AccessDeniedTest.php
AccessManager::$currentUser property core/lib/Drupal/Core/Access/AccessManager.php The current user.
AccessManagerTest::$currentUser property core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AccessPermissionTest::$normalUser property core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php A user with 'views_test_data test permission' permission.
AccessPermissionTest::$webUser property core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php A user with no special permissions.
AccessResult::cachePerUser function core/lib/Drupal/Core/Access/AccessResult.php Convenience method, adds the "user" cache context.
AccessTest::$normalUser property core/modules/views/tests/src/Functional/Plugin/AccessTest.php Normal user for testing.
AccessTest::$user1 property core/modules/file/tests/src/Kernel/AccessTest.php An authenticated user.
AccessTest::$user2 property core/modules/file/tests/src/Kernel/AccessTest.php An authenticated user.
AccessTest::$webUser property core/modules/views/tests/src/Functional/Plugin/AccessTest.php Web user for testing.
AccessTestBase::$normalUser property core/modules/user/tests/src/Functional/Views/AccessTestBase.php Contains a user object that has the 'views_test_data test permission'.
AccessTestBase::$webUser property core/modules/user/tests/src/Functional/Views/AccessTestBase.php Contains a user object that has no special permissions.
access_check.user.login_status service core/modules/user/user.services.yml Drupal\user\Access\LoginStatusCheck
access_check.user.register service core/modules/user/user.services.yml Drupal\user\Access\RegisterAccessCheck
access_check.user.role service core/modules/user/user.services.yml Drupal\user\Access\RoleAccessCheck
AccountEvents::SET_USER constant core/lib/Drupal/Core/Session/AccountEvents.php Name of the event fired when the current user is set.
AccountForm::syncUserLangcode function core/modules/user/src/AccountForm.php Synchronizes preferred language and entity language.
AccountInterface::getUsername function core/lib/Drupal/Core/Session/AccountInterface.php Returns the unaltered login name of this account.
AccountProxy::getUsername function core/lib/Drupal/Core/Session/AccountProxy.php Returns the unaltered login name of this account.
AccountProxy::loadUserEntity function core/lib/Drupal/Core/Session/AccountProxy.php Load a user entity.
AccountSwitcher::$currentUser property core/lib/Drupal/Core/Session/AccountSwitcher.php The current user service.
ActiveLinkResponseFilter::$currentUser property core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php The current user.
AddRoleUser class core/modules/user/src/Plugin/Action/AddRoleUser.php Adds a role to a user.
AddRoleUser.php file core/modules/user/src/Plugin/Action/AddRoleUser.php
AddRoleUser::execute function core/modules/user/src/Plugin/Action/AddRoleUser.php Executes the plugin.
AddRoleUserTest class core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php @coversDefaultClass \Drupal\user\Plugin\Action\AddRoleUser
@group user
AddRoleUserTest.php file core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php
AddRoleUserTest::testExecuteAddExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php Tests the execute method on a user with a role.
AddRoleUserTest::testExecuteAddNonExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php Tests the execute method on a user without a specific role.
AdminNegotiator::$user property core/modules/user/src/Theme/AdminNegotiator.php The current user.
AdminTest::$adminUser property core/modules/system/tests/src/Functional/System/AdminTest.php User account with all available permissions
AdminTest::$webUser property core/modules/system/tests/src/Functional/System/AdminTest.php User account with limited access to administration pages.
AggregatorTestBase::$adminUser property core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php A user with permission to administer feeds and create content.
AggregatorTestBase::$adminUser property core/modules/aggregator/src/Tests/AggregatorTestBase.php A user with permission to administer feeds and create content.
AjaxPageStateTest::$adminUser property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php User account with all available permissions
AllowedValuesConstraintValidator::$currentUser property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php The current user.
AnonymousUserResponseSubscriber class core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php Response subscriber to handle finished responses for the anonymous user.
AnonymousUserResponseSubscriber.php file core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php
AnonymousUserResponseSubscriber::$currentUser property core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php The current user.
AnonymousUserResponseSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php Registers the methods in this class that should be listeners.
AnonymousUserResponseSubscriber::onRespond function core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php Adds a cache tag if the 'user.permissions' cache context is present.
AnonymousUserResponseSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/AnonymousUserResponseSubscriber.php Constructs an AnonymousUserResponseSubscriber object.
AnonymousUserSession class core/lib/Drupal/Core/Session/AnonymousUserSession.php An account implementation representing an anonymous user.
AnonymousUserSession.php file core/lib/Drupal/Core/Session/AnonymousUserSession.php
AnonymousUserSession::__construct function core/lib/Drupal/Core/Session/AnonymousUserSession.php Constructs a new anonymous user session.
AnonymousUserSessionTest class core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php @coversDefaultClass \Drupal\Core\Session\AnonymousUserSession
@group Session
AnonymousUserSessionTest.php file core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php
AnonymousUserSessionTest::testUserGetRoles function core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php Tests the method getRoles exclude or include locked roles based in param.
anonymous_user_response_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\AnonymousUserResponseSubscriber

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