DbLogTest::testTemporaryUser |
function |
core/modules/dblog/tests/src/Functional/DbLogTest.php |
Tests that the details page displays correctly for a temporary user. |
DefaultMenuLinkTreeManipulatorsTest::$currentUser |
property |
core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php |
The mocked current user. |
DefaultSelection::$currentUser |
property |
core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php |
The current user. |
delay_cache_tags_invalidation_user_insert |
function |
core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module |
Implements hook_ENTITY_TYPE_insert(). |
DeleteAction::$currentUser |
property |
core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php |
The current user. |
DeleteActionTest::$testUser |
property |
core/tests/Drupal/KernelTests/Core/Action/DeleteActionTest.php |
|
DeleteMultipleForm::$currentUser |
property |
core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php |
The current user. |
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. |
Drupal\navigation\UserLazyBuilders |
service |
core/modules/navigation/navigation.services.yml |
|
Drupal\user\ModulePermissionsLinkHelper |
service |
core/modules/user/user.services.yml |
|
Drupal\user\PermissionHandlerInterface |
service |
core/modules/user/user.services.yml |
|
Drupal\user\ToolbarLinkBuilder |
service |
core/modules/user/user.services.yml |
|
Drupal\user\UserAuthInterface |
service |
core/modules/user/user.services.yml |
|
Drupal\user\UserDataInterface |
service |
core/modules/user/user.services.yml |
|
Drupal\user\UserFloodControlInterface |
service |
core/modules/user/user.services.yml |
|
Drupal\user\UserNameValidator |
service |
core/modules/user/user.services.yml |
|
Drupal\user_route_alter_test\Routing\RouteSubscriber |
service |
core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml |
|
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. |
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. |
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. |
EntityArgumentTest::$adminUser |
property |
core/modules/views/tests/src/Functional/Plugin/EntityArgumentTest.php |
A user with permission to administer taxonomy. |
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. |
EntityDeprecationTest::testCreateUserDeprecation |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDeprecationTest.php |
Tests deprecation of \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::createUser(). |
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. |
EntityFormTest::$webUser |
property |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
The current user of the test. |
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. |