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 10.3.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
FilterTest::testRememberUserRoles function core/modules/views/tests/src/Functional/Plugin/FilterTest.php Tests that disabled user roles of the "Remember the last selection" functionality are removed on save.
FormBase::currentUser function core/lib/Drupal/Core/Form/FormBase.php Gets the current user.
FormBuilder::$currentUser property core/lib/Drupal/Core/Form/FormBuilder.php The current user.
FormBuilder::currentUser function core/lib/Drupal/Core/Form/FormBuilder.php Gets the current active user.
FormCache::$currentUser property core/lib/Drupal/Core/Form/FormCache.php The current user.
FormCacheTest::testGetCacheAnonUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testGetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testSetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::setCache
FormState::getUserInput function core/lib/Drupal/Core/Form/FormState.php Returns the form values as they were submitted by the user.
FormState::setUserInput function core/lib/Drupal/Core/Form/FormState.php Sets the form values as though they were submitted by a user.
FormStateDecoratorBase::getUserInput function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the form values as they were submitted by the user.
FormStateDecoratorBase::setUserInput function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the form values as though they were submitted by a user.
FormStateDecoratorBaseTest::testGetUserInput function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getUserInput
FormStateDecoratorBaseTest::testSetUserInput function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setUserInput
FormStateInterface::getUserInput function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the form values as they were submitted by the user.
FormStateInterface::setUserInput function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the form values as though they were submitted by a user.
FormTestHooks::formUserRegisterFormAlter function core/modules/system/tests/modules/form_test/src/Hook/FormTestHooks.php Implements hook_form_FORM_ID_alter() for the registration form.
form_test_user_register_form_rebuild function core/modules/system/tests/modules/form_test/form_test.module Submit callback that just lets the form rebuild.
ForumBlockTest::$adminUser property core/modules/forum/tests/src/Functional/ForumBlockTest.php A user with various administrative privileges.
ForumTest::$adminUser property core/modules/forum/tests/src/Functional/ForumTest.php A user with various administrative privileges.
ForumTest::$editAnyTopicsUser property core/modules/forum/tests/src/Functional/ForumTest.php A user that can create, edit, and delete forum topics.
ForumTest::$editOwnTopicsUser property core/modules/forum/tests/src/Functional/ForumTest.php A user that can create forum topics and edit its own topics.
ForumTest::$postCommentUser property core/modules/forum/tests/src/Functional/ForumTest.php An administrative user who can bypass comment approval.
ForumTest::$webUser property core/modules/forum/tests/src/Functional/ForumTest.php A user with no special privileges.
FunctionalTestSetupTrait::$rootUser property core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php The "#1" admin user.
FunctionalTestSetupTrait::$usesSuperUserAccessPolicy property core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Set to TRUE to make user 1 a super user.
FunctionalTestSetupTrait::initUserSession function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Initializes user 1 for the site to be installed.
HandlerArgumentUserUidTest class core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php Tests the handler of the user: uid Argument.
HandlerArgumentUserUidTest.php file core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php
HandlerArgumentUserUidTest::$modules property core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php Modules to install.
HandlerArgumentUserUidTest::$testViews property core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php Test views.
HandlerArgumentUserUidTest::testArgumentTitle function core/modules/user/tests/src/Kernel/Views/HandlerArgumentUserUidTest.php Tests the generated title of a user: uid argument.
HandlerFieldUserNameTest class core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php Tests the handler of the user: name field.
HandlerFieldUserNameTest.php file core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
HandlerFieldUserNameTest::$defaultTheme property core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php The theme to install as the default for testing.
HandlerFieldUserNameTest::$testViews property core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php Views used by this test.
HandlerFieldUserNameTest::testNoAdditionalFields function core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php Tests that the field handler works when no additional fields are added.
HandlerFieldUserNameTest::testUserName function core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
HandlerFilterCurrentUserTest class core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php Tests the current user filter handler.
HandlerFilterCurrentUserTest.php file core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php
HandlerFilterCurrentUserTest::$currentUser property core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php The current user.
HandlerFilterCurrentUserTest::$testViews property core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php Views used by this test.
HandlerFilterCurrentUserTest::setUp function core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php
HandlerFilterCurrentUserTest::testFilterCurrentUserAsAnonymous function core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php Tests the current user filter handler with anonymous user.
HandlerFilterCurrentUserTest::testFilterCurrentUserAsUser function core/modules/user/tests/src/Kernel/Views/HandlerFilterCurrentUserTest.php Tests the current user filter handler with logged-in user.
HandlerFilterUserNameTest class core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php Tests the handler of the user: name filter.
HandlerFilterUserNameTest.php file core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php
HandlerFilterUserNameTest::$accounts property core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php Accounts used by this test.
HandlerFilterUserNameTest::$columnMap property core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php Stores the column map for this testCase.
HandlerFilterUserNameTest::$defaultTheme property core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php The theme to install as the default for testing.

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