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 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::$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
access_policy.super_user service core/core.services.yml Drupal\Core\Session\SuperUserAccessPolicy
access_policy.user_roles service core/core.services.yml Drupal\Core\Session\UserRolesAccessPolicy
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.
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.
AddedStylesheetsTest::$adminUser property core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php The admin 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.
AdminAccountSwitcherTest::testSuperUser function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests switching to user 1 when the superuser access policy is enabled.
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.
AjaxMaintenanceModeTest::$adminUser property core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxMaintenanceModeTest.php An user with administration permissions.
AjaxPageStateTest::$adminUser property core/modules/system/tests/src/Functional/Render/AjaxPageStateTest.php User account with all available permissions.
AlertsJsonFeedTest::$user property core/modules/announcements_feed/tests/src/FunctionalJavascript/AlertsJsonFeedTest.php A user with permission to access toolbar and access announcements.
AllowedValuesConstraintValidator::$currentUser property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AllowedValuesConstraintValidator.php The current user.
AnnounceFetcherUserTest class core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php @coversDefaultClass \Drupal\announcements_feed\AnnounceFetcher
AnnounceFetcherUserTest.php file core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::$modules property core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Modules to install.
AnnounceFetcherUserTest::providerShowAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Data provider for testAllAnnouncements().
AnnounceFetcherUserTest::providerShowUpdatedAnnouncements function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Data provider for testAllAnnouncements().
AnnounceFetcherUserTest::setFeedItems function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Sets the feed items to be returned for the test.
AnnounceFetcherUserTest::setUp function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::testAllAnnouncementsFirst function core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php Tests testAllAnnouncements should get all announcements.
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.

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