Search for user

  1. Search 7.x for user
  2. Search 8.9.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
LanguageNegotiatorInterface::setCurrentUser function core/modules/language/src/LanguageNegotiatorInterface.php Sets the current active user and resets all language types.
LanguageRequestSubscriber::$currentUser property core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php The current active user.
LanguageTourTest::$adminUser property core/modules/language/tests/src/Functional/LanguageTourTest.php An admin user with administrative permissions for views.
LanguageUILanguageNegotiationTest::$adminUser property core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php The admin user for testing.
LanguageUrlRewritingTest::$webUser property core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php A user with permissions to administer languages.
LayoutBuilderIntegration::$currentUser property core/modules/quickedit/src/LayoutBuilderIntegration.php The current user.
LayoutBuilderIntegrationTest::$contentAuthorUser property core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderIntegrationTest.php A user with permissions to edit Articles and use Quick Edit.
LayoutBuilderQuickEditTest::$contentAuthorUser property core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php A user with permissions to edit Articles and use Quick Edit.
LinkAccessConstraintValidator::$current_user property core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php Proxy for the current user account.
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.
LinkCollectionNormalizer::$currentUser property core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The current user making the request.
LinkCollectionNormalizerTest::$testUsers property core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Test users.
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, 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.
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.
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.
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.
MediaLibraryTest::$user property core/modules/ckeditor/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.
MediaTest::$adminUser property core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php The user to use during testing.
MediaTest::$adminUser property core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php The user to use during testing.
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.

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