| UserSearchTest.php |
file |
core/modules/search/tests/src/Functional/user/UserSearchTest.php |
|
| UserSearchTest::$defaultTheme |
property |
core/modules/search/tests/src/Functional/user/UserSearchTest.php |
The theme to install as the default for testing. |
| UserSearchTest::$modules |
property |
core/modules/search/tests/src/Functional/user/UserSearchTest.php |
Modules to install. |
| UserSearchTest::testUserSearch |
function |
core/modules/search/tests/src/Functional/user/UserSearchTest.php |
Tests various user search functionalities and permission-based restrictions. |
| UserSelection |
class |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Provides specific access control for the user entity type. |
| UserSelection.php |
file |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
|
| UserSelection::$connection |
property |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
The database connection. |
| UserSelection::buildConfigurationForm |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Form constructor. |
| UserSelection::buildEntityQuery |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Builds an EntityQuery to get referenceable entities. |
| UserSelection::createNewEntity |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Creates a new entity object that can be used as a valid reference. |
| UserSelection::defaultConfiguration |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Gets default configuration for this plugin. |
| UserSelection::entityQueryAlter |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Allows altering the SelectQuery generated by EntityFieldQuery. |
| UserSelection::validateReferenceableNewEntities |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Validates which newly created entities can be referenced. |
| UserSelection::__construct |
function |
core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php |
Constructs a new UserSelection object. |
| UserSession |
class |
core/lib/Drupal/Core/Session/UserSession.php |
An implementation of the user account interface for the global user. |
| UserSession.php |
file |
core/lib/Drupal/Core/Session/UserSession.php |
|
| 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 |
Returns the unaltered login name of this account. |
| UserSession::getDisplayName |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the display name of this account. |
| UserSession::getEmail |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the email address of this account. |
| UserSession::getLastAccessedTime |
function |
core/lib/Drupal/Core/Session/UserSession.php |
The timestamp when the account last accessed the site. |
| UserSession::getPreferredAdminLangcode |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the preferred administrative language code of the account. |
| UserSession::getPreferredLangcode |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the preferred language code of the account. |
| UserSession::getRoles |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns a list of roles. |
| 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 |
Returns the timezone of this account. |
| UserSession::hasPermission |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Checks whether a user has a certain permission. |
| UserSession::hasRole |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Whether a user has a certain role. |
| UserSession::id |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns the user ID or 0 for anonymous. |
| UserSession::isAnonymous |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns TRUE if the account is anonymous. |
| UserSession::isAuthenticated |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Returns TRUE if the account is authenticated. |
| UserSession::__construct |
function |
core/lib/Drupal/Core/Session/UserSession.php |
Constructs a new user session. |
| UserSessionRepository |
class |
core/lib/Drupal/Core/Session/UserSessionRepository.php |
Provides the default user session repository. |
| UserSessionRepository.php |
file |
core/lib/Drupal/Core/Session/UserSessionRepository.php |
|
| UserSessionRepository::deleteAll |
function |
core/lib/Drupal/Core/Session/UserSessionRepository.php |
|
| UserSessionRepository::__construct |
function |
core/lib/Drupal/Core/Session/UserSessionRepository.php |
|
| UserSessionRepositoryInterface |
interface |
core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php |
Provides an interface for the user session repository. |
| UserSessionRepositoryInterface.php |
file |
core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php |
|
| UserSessionRepositoryInterface::deleteAll |
function |
core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php |
Delete all session records of the given user. |
| UserSessionTest |
class |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests Drupal\Core\Session\UserSession. |
| UserSessionTest.php |
file |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
|
| UserSessionTest::createUserSession |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Setups a user session for the test. |
| UserSessionTest::testGetLastAccessedTime |
function |
core/tests/Drupal/Tests/Core/Session/UserSessionTest.php |
Tests that ::getLastAccessedTime() returns an integer. |