| DemoUmamiProfileTest::testUser |
function |
core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php |
Tests that the users can log in with the admin password entered at install. |
| demo_umami_set_users_passwords |
function |
core/profiles/demo_umami/demo_umami.profile |
Sets the password of admin to be the password for all users. |
| Drupal::currentUser |
function |
core/lib/Drupal.php |
Gets the current active user. |
| DrupalTest::testCurrentUser |
function |
core/tests/Drupal/Tests/Core/DrupalTest.php |
Tests the currentUser() method. |
| DynamicMenuLinkMock::$currentUser |
property |
core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php |
The current user. |
| DynamicMenuLinkMock::setCurrentUser |
function |
core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php |
Sets the current user. |
| EditorAdminTest::$adminUser |
property |
core/modules/editor/tests/src/Functional/EditorAdminTest.php |
A user with the 'administer filters' permission. |
| EditorAdminTest::$user |
property |
core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php |
The user to use during testing. |
| EditorIntegrationLoadingTest::testUsersWithoutPermission |
function |
core/modules/quickedit/tests/src/Functional/EditorIntegrationLoadingTest.php |
Tests loading of untransformed text when a user doesn't have access to it. |
| EditorIntegrationLoadingTest::testUserWithPermission |
function |
core/modules/quickedit/tests/src/Functional/EditorIntegrationLoadingTest.php |
Tests loading of untransformed text when a user does have access to it. |
| EditorLoadingTest::$normalUser |
property |
core/modules/editor/tests/src/Functional/EditorLoadingTest.php |
A normal user with additional access to the 'filtered_html' format. |
| EditorLoadingTest::$privilegedUser |
property |
core/modules/editor/tests/src/Functional/EditorLoadingTest.php |
A privileged user with additional access to the 'full_html' format. |
| EditorLoadingTest::$untrustedUser |
property |
core/modules/editor/tests/src/Functional/EditorLoadingTest.php |
An untrusted user, with access to the 'plain_text' format. |
| EditorSecurityTest::$normalUser |
property |
core/modules/editor/tests/src/Functional/EditorSecurityTest.php |
User with access to Restricted HTML text format with text editor. |
| EditorSecurityTest::$privilegedUser |
property |
core/modules/editor/tests/src/Functional/EditorSecurityTest.php |
User with access to all text formats and text editors. |
| EditorSecurityTest::$trustedUser |
property |
core/modules/editor/tests/src/Functional/EditorSecurityTest.php |
User with access to Restricted HTML and tags considered dangerous. |
| EditorSecurityTest::$untrustedUser |
property |
core/modules/editor/tests/src/Functional/EditorSecurityTest.php |
User with access to Restricted HTML text format without text editor. |
| EditorUploadImageScaleTest::$adminUser |
property |
core/modules/editor/tests/src/Functional/EditorUploadImageScaleTest.php |
A user with permission as administer for testing. |
| ElementsVerticalTabsTest::$adminUser |
property |
core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php |
A user with permission to access vertical_tab_test_tabs. |
| ElementsVerticalTabsTest::$webUser |
property |
core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php |
A normal user. |
| EmphasisTest::$adminUser |
property |
core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php |
The user to use during testing. |
| EntityAccessChecker::$currentUser |
property |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
The current user. |
| EntityAccessControlHandler::prepareUser |
function |
core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php |
Loads the current account object, if it does not exist yet. |
| EntityAccessControlHandlerTest::testUserLabelAccess |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php |
Ensures user labels are accessible for everyone. |
| EntityAutocompleteElementFormTest::$testAutocreateUser |
property |
core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php |
User for autocreate testing. |
| EntityAutocompleteElementFormTest::$testUser |
property |
core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php |
User for testing. |
| EntityCrudHookTest::testUserHooks |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php |
Tests hook invocations for CRUD operations on users. |
| EntityFieldTest::$entityUser |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php |
|
| EntityFilteringThemeTest::$user |
property |
core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php |
A test user. |
| EntityKernelTestBase::createUser |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Creates a user. |
| EntityKernelTestBaseTest::testSetUpCurrentUser |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
Tests that the current user is set up correctly. |
| EntityReferenceFieldDefaultValueTest::$adminUser |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php |
A user with permission to administer content types, node fields, etc. |
| EntityReferenceFieldTest::assertUserAutocreate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Asserts that the setter callback performs autocreation for users. |
| EntityReferenceFieldTest::assertUserRoleAutocreate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php |
Asserts that the setter callback performs autocreation for user roles. |
| EntityReferenceFieldTranslatedReferenceViewTest::$webUser |
property |
core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php |
A user with permission to edit the referrer entity. |
| EntityReferenceSelectionAccessTest::testUserHandler |
function |
core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php |
Tests the user-specific overrides of the entity handler. |
| EntityResource::$user |
property |
core/modules/jsonapi/src/Controller/EntityResource.php |
The current user account. |
| EntityResourceTest::$user |
property |
core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php |
The user. |
| EntityRevisionsTest::$webUser |
property |
core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php |
A user with permission to administer entity_test content. |
| EntitySerializationTest::$user |
property |
core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php |
The test user. |
| EntitySerializationTest::testUserNormalize |
function |
core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php |
Tests user normalization with some default access controls overridden. |
| EntityStateChangeValidationTest::$adminUser |
property |
core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php |
An admin user. |
| EntityTestUserClass |
class |
core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php |
A custom bundle class for the User entity. |
| EntityTestUserClass.php |
file |
core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php |
|
| EntityTypeInfo::$currentUser |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
The current user. |
| EntityUser |
class |
core/modules/user/src/Plugin/migrate/destination/EntityUser.php |
Provides a destination plugin for migrating user entities. |
| EntityUser.php |
file |
core/modules/user/src/Plugin/migrate/destination/EntityUser.php |
|
| EntityUser::$password |
property |
core/modules/user/src/Plugin/migrate/destination/EntityUser.php |
The password service class. |
| EntityUser::create |
function |
core/modules/user/src/Plugin/migrate/destination/EntityUser.php |
Creates an instance of the plugin. |
| EntityUser::getHighestId |
function |
core/modules/user/src/Plugin/migrate/destination/EntityUser.php |
Returns the highest ID tracked by the implementing plugin. |