Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 10.3.x for user
  4. Search 11.x for user
  5. 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
LinkBase::$currentUser property core/modules/views/src/Plugin/views/field/LinkBase.php Current user object.
LinkBase::currentUser function core/modules/views/src/Plugin/views/field/LinkBase.php Gets the current active user.
LinkFieldUITest::$adminUser property core/modules/link/tests/src/Functional/LinkFieldUITest.php A user that can edit content types.
LinkFieldUITest::$helpTextUser property core/modules/link/tests/src/Functional/LinkFieldUITest.php A user that should see the help texts.
LinkWidget::getUserEnteredStringAsUri function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Gets the user-entered string as a URI.
ListingEmpty::$currentUser property core/modules/block_content/src/Plugin/views/area/ListingEmpty.php The current user.
LocaleExportTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleExportTest.php A user able to create languages and export translations.
LocaleImportFunctionalTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php A user able to create languages and import translations.
LocaleImportFunctionalTest::$adminUserAccessSiteReports property core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php A user able to create languages, import translations and access site
reports.
LocaleLookupTest::$user property core/modules/locale/tests/src/Unit/LocaleLookupTest.php A mocked user object built from AccountInterface.
LocalePluralFormatTest::$adminUser property core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php An admin user.
LocaleTranslateStringTourTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php An admin user with administrative permissions to translate.
LoggerChannel::$currentUser property core/lib/Drupal/Core/Logger/LoggerChannel.php The current user object.
LoggerChannel::setCurrentUser function core/lib/Drupal/Core/Logger/LoggerChannel.php Sets the current user.
LoggerChannelInterface::setCurrentUser function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the current user.
LoginLogoutMenuLink::$currentUser property core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php The current user.
MailHandler::$userStorage property core/modules/contact/src/MailHandler.php The user entity storage handler.
MailHandlerTest::$userStorage property core/modules/contact/tests/src/Unit/MailHandlerTest.php The user storage handler.
MainContentFallbackTest::$adminUser property core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
MainContentFallbackTest::$webUser property core/modules/system/tests/src/Functional/System/MainContentFallbackTest.php
MaximumFileSizeExceededUploadTest::$user property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php A test user.
Media::getCurrentUserId function core/modules/media/src/Entity/Media.php Default value callback for 'uid' base field definition.
MediaAccessTest::testMediaAnonymousUserAccess function core/modules/media/tests/src/Functional/MediaAccessTest.php Tests media access of anonymous user.
MediaAccessTest::testUnpublishedMediaUserAccess function core/modules/media/tests/src/Functional/MediaAccessTest.php Tests unpublished media access.
MediaFunctionalTestTrait::$adminUser property core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php An admin test user account.
MediaFunctionalTestTrait::$adminUserPermissions property core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php Permissions for the admin user that will be logged-in for test.
MediaFunctionalTestTrait::$nonAdminUser property core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php A non-admin test user account.
MediaKernelTestBase::$user property core/modules/media/tests/src/Kernel/MediaKernelTestBase.php A user.
MediaLibraryWidget::$currentUser property core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php The current active user.
MediaLibraryWidgetTest::$adminUser property core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php An admin user.
MediaTest::testGetCurrentUserId function core/modules/media/tests/src/Kernel/MediaTest.php Tests the legacy method used as the default entity owner.
MenuLinkContentFormTest::$adminUser property core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php User with 'administer menu' and 'link to any page' permission.
MenuLinkContentFormTest::$basicUser property core/modules/menu_link_content/tests/src/Functional/MenuLinkContentFormTest.php User with only 'administer menu' permission.
MenuLinkContentUpdateTest::replaceUser1 function core/modules/menu_link_content/tests/src/Functional/Update/MenuLinkContentUpdateTest.php Replace User 1 with the user created here.
MenuLinkTest::$adminUser property core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php A user with permission to administer views, menus and view content.
MenuRouterTest::testAuthUserUserLogin function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Test that an authenticated user hitting 'user/login' gets redirected to
'user' and 'user/register' gets redirected to the user edit page.
MenuTest::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/MenuTest.php Whether anonymous users can view labels of this resource type.
MenuUiTest::$adminUser property core/modules/menu_ui/tests/src/Functional/MenuUiTest.php A user with administration rights.
MenuUiTest::$authenticatedUser property core/modules/menu_ui/tests/src/Functional/MenuUiTest.php An authenticated user.
MigrateDrupal6TestBase::migrateUsers function core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php Executes all user migrations.
MigrateDrupal7TestBase::migrateUsers function core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php Executes all user migrations.
MigrateSearchPageTest::testUserSearchCreate function core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchPageTest.php Tests that a search page will be created if it does not exist.
MigrateShortcutSetUsersTest class core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php Test shortcut_set_users migration.
MigrateShortcutSetUsersTest.php file core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php
MigrateShortcutSetUsersTest::$modules property core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php Modules to enable.
MigrateShortcutSetUsersTest::setUp function core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php
MigrateShortcutSetUsersTest::testShortcutSetUsersMigration function core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetUsersTest.php Test the shortcut set migration.
MigrateTrackerUserTest class core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php Tests migration of tracker_user.
MigrateTrackerUserTest.php file core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php
MigrateTrackerUserTest::$modules property core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php Modules to enable.

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