Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 8.9.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
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, 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/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php An admin user with administrative permissions to translate.
logger.channel.user service core/modules/user/user.services.yml
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.
LoggerChannelFactory::$currentUser property core/lib/Drupal/Core/Logger/LoggerChannelFactory.php 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
ManageFieldsTest::$adminUser property core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php A user with permission to administer node fields, etc.
ManageFieldsTest::testAddFieldWithMultipleUsers function core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php Tests multiple users adding a field with the same name.
MaximumFileSizeExceededUploadTest::$user property core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php A test user.
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.
MediaEntityMetadataApiTest::$adminUser property core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php The admin user.
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.
MediaLibraryTest::$user property core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLibraryTest.php The user to use during testing.
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.
MediaRequirementsTest::$usesSuperUserAccessPolicy property core/modules/media/tests/src/Functional/MediaRequirementsTest.php @todo Remove and fix test to not rely on super user.
MediaTestBase::$adminUser property core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php The user to use during testing.
MenuAccessTest::assertUserRoutesAccess function core/modules/system/tests/src/Functional/Menu/MenuAccessTest.php Asserts which routes a user has access to.
MenuActiveTrail403Test::$privilegedUser property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php A user who can access both routes in our menu.
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.
MenuLinkTest::$adminUser property core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php A user with permission to administer views, menus and view content.
MenuLinkTreeTest::testUserLoginAndUserLogoutLinks function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php Tests user/login and user/logout links.
MenuRouterTest::testAuthUserUserLogin function core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php Tests authenticated user login redirects.
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.
MenuUiTest::testUserLoginUserLogoutLinks function core/modules/menu_ui/tests/src/Functional/MenuUiTest.php Tests the user login/logout links.
MigrateControllerTest::$usesSuperUserAccessPolicy property core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php @todo Remove and fix test to not rely on super 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.
MigrateDrupalTestBase::migrateUsers function core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.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

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