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. Search main for user
  6. 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
UserSession::$access property core/lib/Drupal/Core/Session/UserSession.php The Unix timestamp when the user last accessed the site.
UserSession::$mail property core/lib/Drupal/Core/Session/UserSession.php The email address of this account.
UserSession::$name property core/lib/Drupal/Core/Session/UserSession.php The name of this account.
UserSession::$preferred_admin_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred administrative language code of the account.
UserSession::$preferred_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred language code of the account.
UserSession::$roles property core/lib/Drupal/Core/Session/UserSession.php List of the roles this user has.
UserSession::$timezone property core/lib/Drupal/Core/Session/UserSession.php The timezone of this account.
UserSession::$uid property core/lib/Drupal/Core/Session/UserSession.php User ID.
UserSession::getAccountName function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getDisplayName function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getEmail function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getLastAccessedTime function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getPreferredLangcode function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getRoles function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getRoleStorage function core/lib/Drupal/Core/Session/UserSession.php Returns the role storage object.
UserSession::getTimeZone function core/lib/Drupal/Core/Session/UserSession.php
UserSession::hasPermission function core/lib/Drupal/Core/Session/UserSession.php
UserSession::id function core/lib/Drupal/Core/Session/UserSession.php
UserSession::isAnonymous function core/lib/Drupal/Core/Session/UserSession.php
UserSession::isAuthenticated function core/lib/Drupal/Core/Session/UserSession.php
UserSession::__construct function core/lib/Drupal/Core/Session/UserSession.php Constructs a new user session.
UserSessionTest class core/tests/Drupal/Tests/Core/Session/UserSessionTest.php @coversDefaultClass \Drupal\Core\Session\UserSession[[api-linebreak]]
@group Session
UserSessionTest.php file core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
UserSessionTest::$users property core/tests/Drupal/Tests/Core/Session/UserSessionTest.php The user sessions used in the test.
UserSessionTest::createUserSession function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Setups a user session for the test.
UserSessionTest::providerTestHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Provides test data for getHasPermission().
UserSessionTest::setUp function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
UserSessionTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the has permission method.
UserSessionTest::testUserGetRoles function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the method getRoles exclude or include locked roles based in param.
UserStorage class core/modules/user/src/UserStorage.php Controller class for users.
UserStorage.php file core/modules/user/src/UserStorage.php
UserStorage::deleteRoleReferences function core/modules/user/src/UserStorage.php
UserStorage::doSaveFieldItems function core/modules/user/src/UserStorage.php
UserStorage::updateLastAccessTimestamp function core/modules/user/src/UserStorage.php
UserStorage::updateLastLoginTimestamp function core/modules/user/src/UserStorage.php
UserStorageInterface interface core/modules/user/src/UserStorageInterface.php Defines an interface for user entity storage classes.
UserStorageInterface.php file core/modules/user/src/UserStorageInterface.php
UserStorageInterface::deleteRoleReferences function core/modules/user/src/UserStorageInterface.php Delete role references.
UserStorageInterface::updateLastAccessTimestamp function core/modules/user/src/UserStorageInterface.php Update the last access timestamp of the user.
UserStorageInterface::updateLastLoginTimestamp function core/modules/user/src/UserStorageInterface.php Update the last login timestamp of the user.
UserStorageSchema class core/modules/user/src/UserStorageSchema.php Defines the user schema handler.
UserStorageSchema.php file core/modules/user/src/UserStorageSchema.php
UserStorageSchema::getEntitySchema function core/modules/user/src/UserStorageSchema.php
UserStorageSchema::getSharedTableFieldSchema function core/modules/user/src/UserStorageSchema.php
UserSubAdminTest class core/modules/user/tests/src/Functional/UserSubAdminTest.php Test 'sub-admin' account with permission to edit some users but without 'administer users' permission.
UserSubAdminTest.php file core/modules/user/tests/src/Functional/UserSubAdminTest.php
UserSubAdminTest::$defaultTheme property core/modules/user/tests/src/Functional/UserSubAdminTest.php
UserSubAdminTest::$modules property core/modules/user/tests/src/Functional/UserSubAdminTest.php
UserSubAdminTest::testSubAdmin function core/modules/user/tests/src/Functional/UserSubAdminTest.php Tests create and cancel forms as 'sub-admin'.

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