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
SmartDefaultSettings::$currentUser property core/modules/ckeditor5/src/SmartDefaultSettings.php The current user.
SourceEditingTestBase::$adminUser property core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTestBase.php The user to use during testing.
StandardPerformanceTest::$user property core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php The user account created during testing.
StandardTestTrait::$adminUser property core/profiles/standard/tests/src/Traits/StandardTestTrait.php The admin user.
StateTransitionValidationTest::testUserSensitiveValidTransitions function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Verifies user-aware transition validation.
StateTransitionValidationTest::userTransitionsProvider function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Data provider for the user transition test.
StaticReflectionClass::isUserDefined function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StatisticsAdminTest::$privilegedUser property core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php A user that has permission to administer statistics.
StatisticsLastCommentName::$user_field property core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
StatisticsLastCommentName::$user_field property core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
StatisticsLastCommentName::$user_table property core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
StatisticsLastCommentName::$user_table property core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
StatisticsLoggingTest::$authUser property core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php User with permissions to create and edit pages.
StatisticsTestBase::$blockingUser property core/modules/statistics/tests/src/Functional/StatisticsTestBase.php User with permissions to ban IPs.
StringFieldTest::$webUser property core/modules/field/tests/src/Functional/FunctionalString/StringFieldTest.php A user without any special permissions.
StyleSerializerEntityTest::$adminUser property core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php A user with administrative privileges to look at test entity and configure views.
StyleSerializerTest::$adminUser property core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php A user with administrative privileges to look at test entity and configure views.
SuperUserAccessInstallTest class core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php Tests superuser access and the installer.
SuperUserAccessInstallTest.php file core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php
SuperUserAccessInstallTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php The theme to install as the default for testing.
SuperUserAccessInstallTest::$profile property core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php The installation profile to install.
SuperUserAccessInstallTest::getInstallTests function core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php
SuperUserAccessInstallTest::NO_ACCESS_MESSAGE constant core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php Message when the logged-in user does not have admin access after install.
SuperUserAccessInstallTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php Prepares the current environment for running the test.
SuperUserAccessInstallTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php Final installer step: Configure site.
SuperUserAccessInstallTest::testInstalled function core/tests/Drupal/FunctionalTests/Installer/SuperUserAccessInstallTest.php Confirms that the installation succeeded.
SuperUserAccessPolicy class core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php Grants user 1 an all access pass.
SuperUserAccessPolicy.php file core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php
SuperUserAccessPolicy::calculatePermissions function core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php Calculates the permissions for an account within a given scope.
SuperUserAccessPolicy::getPersistentCacheContexts function core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php Gets the persistent cache contexts.
SuperUserAccessPolicyPass class core/lib/Drupal/Core/DependencyInjection/Compiler/SuperUserAccessPolicyPass.php Removes the super user access policy when toggled off.
SuperUserAccessPolicyPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/SuperUserAccessPolicyPass.php
SuperUserAccessPolicyPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/SuperUserAccessPolicyPass.php
SuperUserAccessPolicyTest class core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php @coversDefaultClass \Drupal\Core\Session\SuperUserAccessPolicy
@group Session
SuperUserAccessPolicyTest.php file core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php
SuperUserAccessPolicyTest::$accessPolicy property core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php The access policy to test.
SuperUserAccessPolicyTest::alterPermissionsProvider function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Data provider for testAlterPermissions.
SuperUserAccessPolicyTest::calculatePermissionsProvider function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Data provider for testCalculatePermissions.
SuperUserAccessPolicyTest::setUp function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php
SuperUserAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the alterPermissions method.
SuperUserAccessPolicyTest::testApplies function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php @covers ::applies
SuperUserAccessPolicyTest::testCalculatePermissions function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the calculatePermissions method.
SuperUserAccessPolicyTest::testGetPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php Tests the getPersistentCacheContexts method.
SuperUserPermissionsTest class core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Test case for getting all permissions as a super user.
SuperUserPermissionsTest.php file core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php
SuperUserPermissionsTest::$modules property core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Modules to install.
SuperUserPermissionsTest::$usesSuperUserAccessPolicy property core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Set to TRUE to make user 1 a super user.
SuperUserPermissionsTest::setUp function core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php
SuperUserPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Tests the super user access policy grants all permissions.
SwitchShortcutSet::$user property core/modules/shortcut/src/Form/SwitchShortcutSet.php The account the shortcut set is for.

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