Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| UserSession::hasPermission | function | core/ |
Checks whether a user has a certain permission. |
| UserSession::hasRole | function | core/ |
Whether a user has a certain role. |
| UserSession::id | function | core/ |
Returns the user ID or 0 for anonymous. |
| UserSession::isAnonymous | function | core/ |
Returns TRUE if the account is anonymous. |
| UserSession::isAuthenticated | function | core/ |
Returns TRUE if the account is authenticated. |
| UserSession::__construct | function | core/ |
Constructs a new user session. |
| UserSessionTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\UserSession[[api-linebreak]] @group Session |
| UserSessionTest.php | file | core/ |
|
| UserSessionTest::createUserSession | function | core/ |
Setups a user session for the test. |
| UserSessionTest::testHasPermission | function | core/ |
Tests the has permission method. |
| UserSessionTest::testHasPermissionLegacy | function | core/ |
Tests deprecation when permission is not a string. |
| UserSessionTest::testHasRole | function | core/ |
Tests the hasRole method. |
| UserSessionTest::testUserGetRoles | function | core/ |
Tests the method getRoles exclude or include locked roles based in param. |
| UserStorage | class | core/ |
Controller class for users. |
| UserStorage.php | file | core/ |
|
| UserStorage::deleteRoleReferences | function | core/ |
Delete role references. |
| UserStorage::doSaveFieldItems | function | core/ |
Writes entity field values to the storage. |
| UserStorage::updateLastAccessTimestamp | function | core/ |
Update the last access timestamp of the user. |
| UserStorage::updateLastLoginTimestamp | function | core/ |
Update the last login timestamp of the user. |
| UserStorageInterface | interface | core/ |
Defines an interface for user entity storage classes. |
| UserStorageInterface.php | file | core/ |
|
| UserStorageInterface::deleteRoleReferences | function | core/ |
Delete role references. |
| UserStorageInterface::updateLastAccessTimestamp | function | core/ |
Update the last access timestamp of the user. |
| UserStorageInterface::updateLastLoginTimestamp | function | core/ |
Update the last login timestamp of the user. |
| UserStorageSchema | class | core/ |
Defines the user schema handler. |
| UserStorageSchema.php | file | core/ |
|
| UserStorageSchema::getEntitySchema | function | core/ |
Gets the entity schema for the specified entity type. |
| UserStorageSchema::getSharedTableFieldSchema | function | core/ |
Gets the schema for a single field definition. |
| UserSubAdminTest | class | core/ |
Test 'sub-admin' account with permission to edit some users but without 'administer users' permission. |
| UserSubAdminTest.php | file | core/ |
|
| UserSubAdminTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| UserSubAdminTest::$modules | property | core/ |
Modules to install. |
| UserSubAdminTest::testSubAdmin | function | core/ |
Tests create and cancel forms as 'sub-admin'. |
| UserTest | class | core/ |
Tests the d6_user source plugin. |
| UserTest | class | core/ |
Tests the d7_user source plugin. |
| UserTest | class | core/ |
@coversDefaultClass \Drupal\user\Entity\User[[api-linebreak]] @group user |
| UserTest | class | core/ |
JSON:API integration test for the "User" content entity type. |
| UserTest.php | file | core/ |
|
| UserTest.php | file | core/ |
|
| UserTest.php | file | core/ |
|
| UserTest.php | file | core/ |
|
| UserTest::$anonymousUsersCanViewLabels | property | core/ |
Whether anonymous users can view labels of this resource type. |
| UserTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| UserTest::$entity | property | core/ |
|
| UserTest::$entityTypeId | property | core/ |
The tested entity type. |
| UserTest::$firstCreatedEntityId | property | core/ |
The entity ID for the first created entity in testPost(). |
| UserTest::$labelFieldName | property | core/ |
Specify which field is the 'label' field for testing a POST edge case. |
| UserTest::$modules | property | core/ |
Modules to install. |
| UserTest::$modules | property | core/ |
Modules to install. |
| UserTest::$modules | property | core/ |
Modules to install. |
Pagination
- Previous page
- Page 1414
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.