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
NodeAdminTest::$baseUser2 property core/modules/node/tests/src/Functional/NodeAdminTest.php A normal user with permission to view own unpublished content.
NodeAdminTest::$baseUser3 property core/modules/node/tests/src/Functional/NodeAdminTest.php A normal user with permission to bypass node access content.
NodeBlockFunctionalTest::$adminUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An administrative user for testing.
NodeBlockFunctionalTest::$webUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An unprivileged user for testing.
NodeEditFormTest::$adminUser property core/modules/node/tests/src/Functional/NodeEditFormTest.php A user with permission to bypass content access checks.
NodeEditFormTest::$webUser property core/modules/node/tests/src/Functional/NodeEditFormTest.php A normal logged in user.
NodeFieldOverridesTest::$user property core/modules/node/tests/src/Kernel/NodeFieldOverridesTest.php Current logged in user.
NodeForm::$currentUser property core/modules/node/src/NodeForm.php The Current User object.
NodeFormSaveChangedTimeTest::$authorUser property core/modules/node/tests/src/Functional/NodeFormSaveChangedTimeTest.php A user with permissions to create and edit articles.
NodeQueryAlterTest::$accessUser property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User with permission to view content.
NodeQueryAlterTest::$noAccessUser property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User without permission to view content.
NodeQueryAlterTest::$noAccessUser2 property core/modules/node/tests/src/Functional/NodeQueryAlterTest.php User without permission to view content.
NodeRevision::defaultDisplayFiltersUser function core/modules/node/src/Plugin/views/wizard/NodeRevision.php Retrieves filter information based on user input for the default display.
NodeRevisionsAllTest::$revisionUser property core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php An arbitrary user for revision authoring.
NodeSaveTest::$webUser property core/modules/node/tests/src/Functional/NodeSaveTest.php A normal logged in user.
NodeStorage::userRevisionIds function core/modules/node/src/NodeStorage.php Gets a list of revision IDs having a given user as node author.
NodeStorageInterface::userRevisionIds function core/modules/node/src/NodeStorageInterface.php Gets a list of revision IDs having a given user as node author.
NodeTitleTest::$adminUser property core/modules/node/tests/src/Functional/NodeTitleTest.php A user with permission to bypass access content.
NodeTypeTranslationTest::$adminUser property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php Administrator user for tests.
NodeViewController::$currentUser property core/modules/node/src/Controller/NodeViewController.php The current user.
NodeViewsFieldAccessTest::$usesSuperUserAccessPolicy property core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php @todo Remove and fix test to not rely on super user.
node_user_cancel function core/modules/node/node.module Implements hook_user_cancel().
node_user_predelete function core/modules/node/node.module Implements hook_ENTITY_TYPE_predelete() for user entities.
NoHelpTest::$adminUser property core/modules/help/tests/src/Functional/NoHelpTest.php The user who will be created.
NonStableModulesTest::$adminUser property core/modules/system/tests/src/Functional/Module/NonStableModulesTest.php The admin user.
olivero_theme_suggestions_user_alter function core/themes/olivero/olivero.theme Implements hook_theme_suggestions_HOOK_alter().
OverridesSectionStorage::$currentUser property core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php The current user.
PageNotFoundTest::$adminUser property core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
PagerTest::$adminUser property core/modules/system/tests/src/Functional/Pager/PagerTest.php A user with permission to access site reports.
PageTitleTest::$contentUser property core/modules/system/tests/src/Functional/System/PageTitleTest.php
PaginationAJAXTest::$user property core/modules/views/tests/src/FunctionalJavascript/PaginationAJAXTest.php
PasswordConfirmWidgetTest::$testUser property core/modules/user/tests/src/FunctionalJavascript/PasswordConfirmWidgetTest.php User for testing.
PathBasedBreadcrumbBuilder::$currentUser property core/modules/system/src/PathBasedBreadcrumbBuilder.php The current user object.
PathBasedBreadcrumbBuilderTest::$currentUser property core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php The mocked current user.
PathBasedBreadcrumbBuilderTest::testBuildWithUserPath function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the breadcrumb for a user path.
PathElementFormTest::$testUser property core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php User for testing.
PathLanguageTest::$webUser property core/modules/path/tests/src/Functional/PathLanguageTest.php A user with permissions to administer content types.
PathWorkspacesTest::testPathAliasesUserSwitch function core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php Tests path aliases with workspaces and user switching.
PermissionsPerBundleTest::testActionIsOnlyAvailableToUserRoles function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests that the permissions-per-bundle action can only be applied to roles.
PlaceholdersTest::callbackPerUser function core/tests/Drupal/Tests/Core/Render/RendererTestBase.php #lazy_builder callback; attaches setting, generates markup, user-specific.
PreviewToggleTrait::currentUser function core/modules/layout_builder/src/Form/PreviewToggleTrait.php Gets the current user.
PrivateTempStore::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The current user.
PrivateTempStoreFactory::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The current user.
PrivateTempStoreTest::$currentUser property core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php The current user.
ProtectedUserFieldConstraint class core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php Checks if the plain text password is provided for editing a protected field.
ProtectedUserFieldConstraint.php file core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php
ProtectedUserFieldConstraint::$message property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraint.php Violation message.
ProtectedUserFieldConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php Validates the ProtectedUserFieldConstraint constraint.
ProtectedUserFieldConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php
ProtectedUserFieldConstraintValidator::$currentUser property core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php The current user.

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