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
CurrentUser::getArgument function core/modules/user/src/Plugin/views/argument_default/CurrentUser.php Return the default argument.
CurrentUser::getCacheContexts function core/modules/user/src/Plugin/views/argument_default/CurrentUser.php The cache contexts associated with this object.
CurrentUser::getCacheMaxAge function core/modules/user/src/Plugin/views/argument_default/CurrentUser.php The maximum age for which this object may be cached.
CurrentUserContext class core/modules/user/src/ContextProvider/CurrentUserContext.php Sets the current user as a context.
CurrentUserContext.php file core/modules/user/src/ContextProvider/CurrentUserContext.php
CurrentUserContext::$account property core/modules/user/src/ContextProvider/CurrentUserContext.php The current user.
CurrentUserContext::$userStorage property core/modules/user/src/ContextProvider/CurrentUserContext.php The user storage.
CurrentUserContext::getAvailableContexts function core/modules/user/src/ContextProvider/CurrentUserContext.php Gets all available contexts for the purposes of configuration.
CurrentUserContext::getRuntimeContexts function core/modules/user/src/ContextProvider/CurrentUserContext.php Gets runtime context values for the given context IDs.
CurrentUserContext::__construct function core/modules/user/src/ContextProvider/CurrentUserContext.php Constructs a new CurrentUserContext.
CurrentUserContextTest class core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php @coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext
CurrentUserContextTest.php file core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php
CurrentUserContextTest::$modules property core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php Modules to enable.
CurrentUserContextTest::setUp function core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php
CurrentUserContextTest::testGetAvailableContexts function core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php @covers ::getAvailableContexts
current_user service core/core.services.yml Drupal\Core\Session\AccountProxy
d6_user.yml file core/modules/user/migrations/d6_user.yml core/modules/user/migrations/d6_user.yml
d6_user_contact_settings.yml file core/modules/user/migrations/d6_user_contact_settings.yml core/modules/user/migrations/d6_user_contact_settings.yml
d6_user_mail.yml file core/modules/user/migrations/d6_user_mail.yml core/modules/user/migrations/d6_user_mail.yml
d6_user_mail_translation.yml file core/modules/config_translation/migrations/d6_user_mail_translation.yml core/modules/config_translation/migrations/d6_user_mail_translation.yml
d6_user_picture_file.yml file core/modules/user/migrations/d6_user_picture_file.yml core/modules/user/migrations/d6_user_picture_file.yml
d6_user_profile_field_instance_translation.yml file core/modules/config_translation/migrations/d6_user_profile_field_instance_translation.yml core/modules/config_translation/migrations/d6_user_profile_field_instance_translation.yml
d6_user_role.yml file core/modules/user/migrations/d6_user_role.yml core/modules/user/migrations/d6_user_role.yml
d6_user_settings.yml file core/modules/user/migrations/d6_user_settings.yml core/modules/user/migrations/d6_user_settings.yml
d6_user_settings_translation.yml file core/modules/config_translation/migrations/d6_user_settings_translation.yml core/modules/config_translation/migrations/d6_user_settings_translation.yml
d7_shortcut_set_users.yml file core/modules/shortcut/migrations/d7_shortcut_set_users.yml core/modules/shortcut/migrations/d7_shortcut_set_users.yml
d7_tracker_user.yml file core/modules/tracker/migrations/d7_tracker_user.yml core/modules/tracker/migrations/d7_tracker_user.yml
d7_user.yml file core/modules/user/migrations/d7_user.yml core/modules/user/migrations/d7_user.yml
d7_user_entity_translation.yml file core/modules/content_translation/migrations/d7_user_entity_translation.yml core/modules/content_translation/migrations/d7_user_entity_translation.yml
d7_user_flood.yml file core/modules/user/migrations/d7_user_flood.yml core/modules/user/migrations/d7_user_flood.yml
d7_user_mail.yml file core/modules/user/migrations/d7_user_mail.yml core/modules/user/migrations/d7_user_mail.yml
d7_user_mail_translation.yml file core/modules/config_translation/migrations/d7_user_mail_translation.yml core/modules/config_translation/migrations/d7_user_mail_translation.yml
d7_user_role.yml file core/modules/user/migrations/d7_user_role.yml core/modules/user/migrations/d7_user_role.yml
d7_user_settings_translation.yml file core/modules/config_translation/migrations/d7_user_settings_translation.yml core/modules/config_translation/migrations/d7_user_settings_translation.yml
DateFilterTest::$adminUser property core/modules/datetime/tests/src/Functional/DateFilterTest.php A user with permission to administer views.
DateFormatTest::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/DateFormatTest.php Whether anonymous users can view labels of this resource type.
DateTimeHandlerTestBase::getUTCEquivalentOfUserNowAsTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns UTC timestamp of user's TZ 'now'.
DateTimeNormalizerTest::providerTestDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Data provider for testDenormalizeUserFormats.
DateTimeNormalizerTest::testDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with a user supplied format.
DbLogController::$userStorage property core/modules/dblog/src/Controller/DbLogController.php The user storage.
DbLogTest::$adminUser property core/modules/dblog/tests/src/Functional/DbLogTest.php A user with some relevant administrative permissions.
DbLogTest::$webUser property core/modules/dblog/tests/src/Functional/DbLogTest.php A user without any permissions.
DbLogTest::doUser function core/modules/dblog/tests/src/Functional/DbLogTest.php Generates and then verifies some user events.
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.

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