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
RelationshipUserImageDataTest class core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php Tests image on user relationship handler.
RelationshipUserImageDataTest.php file core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php
RelationshipUserImageDataTest::$modules property core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php Modules to install.
RelationshipUserImageDataTest::$testViews property core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php Views used by this test.
RelationshipUserImageDataTest::setUp function core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php
RelationshipUserImageDataTest::testViewsHandlerRelationshipUserImageData function core/modules/image/tests/src/Kernel/Views/RelationshipUserImageDataTest.php Tests using the views image relationship.
RemoveRoleUser class core/modules/user/src/Plugin/Action/RemoveRoleUser.php Removes a role from a user.
RemoveRoleUser.php file core/modules/user/src/Plugin/Action/RemoveRoleUser.php
RemoveRoleUser::execute function core/modules/user/src/Plugin/Action/RemoveRoleUser.php Executes the plugin.
RemoveRoleUserTest class core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php @coversDefaultClass \Drupal\user\Plugin\Action\RemoveRoleUser
@group user
RemoveRoleUserTest.php file core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php
RemoveRoleUserTest::testExecuteRemoveExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php Tests the execute method on a user with a role.
RemoveRoleUserTest::testExecuteRemoveNonExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php Tests the execute method on a user without a specific role.
RenderCacheTest::doTestUser1WithContexts function core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php Ensures that user 1 has a unique render cache for the given context.
RenderCacheTest::testUser1PermissionContext function core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php Tests that user 1 has a different permission context with the same roles.
RenderCacheTest::testUser1RolesContext function core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php Tests that user 1 has a different roles context with the same roles.
RendererTestBase::$currentUserRole property core/tests/Drupal/Tests/Core/Render/RendererTestBase.php The simulated "current" user role, for use in tests with cache contexts.
ReportTest::$adminUser property core/modules/views_ui/tests/src/Functional/ReportTest.php Stores an admin user used by the different tests.
ResourceTestBase::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Whether anonymous users can view labels of this resource type.
ResponsiveImageFormatter::$currentUser property core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php The current user.
rest.resource.entity.user_2721595.yml file core/modules/rest/tests/fixtures/update/rest.resource.entity.user_2721595.yml core/modules/rest/tests/fixtures/update/rest.resource.entity.user_2721595.yml
RestRegisterUserTest class core/modules/user/tests/src/Functional/RestRegisterUserTest.php Tests user registration via REST resource.
RestRegisterUserTest.php file core/modules/user/tests/src/Functional/RestRegisterUserTest.php
RestRegisterUserTest::$auth property core/modules/user/tests/src/Functional/RestRegisterUserTest.php The authentication mechanism to use in this test.
RestRegisterUserTest::$defaultTheme property core/modules/user/tests/src/Functional/RestRegisterUserTest.php The theme to install as the default for testing.
RestRegisterUserTest::$format property core/modules/user/tests/src/Functional/RestRegisterUserTest.php The format to use in this test.
RestRegisterUserTest::$mimeType property core/modules/user/tests/src/Functional/RestRegisterUserTest.php The MIME type that corresponds to $format.
RestRegisterUserTest::$modules property core/modules/user/tests/src/Functional/RestRegisterUserTest.php Modules to install.
RestRegisterUserTest::$resourceConfigId property core/modules/user/tests/src/Functional/RestRegisterUserTest.php The REST Resource Config entity ID under test (i.e. a resource type).
RestRegisterUserTest::assertNormalizationEdgeCases function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Asserts normalization-specific edge cases.
RestRegisterUserTest::createRequestBody function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Create the request body.
RestRegisterUserTest::createRequestOptions function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Helper function to generate the request body.
RestRegisterUserTest::getExpectedBcUnauthorizedAccessMessage function core/modules/user/tests/src/Functional/RestRegisterUserTest.php
RestRegisterUserTest::getExpectedUnauthorizedAccessCacheability function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Returns the expected cacheability of an unauthorized access response.
RestRegisterUserTest::getExpectedUnauthorizedAccessMessage function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Return the expected error message.
RestRegisterUserTest::registerRequest function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Make a REST user registration request.
RestRegisterUserTest::registerUser function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Registers a user via REST resource.
RestRegisterUserTest::setUp function core/modules/user/tests/src/Functional/RestRegisterUserTest.php
RestRegisterUserTest::setUpAuthorization function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Sets up the necessary authorization.
RestRegisterUserTest::testRegisterUser function core/modules/user/tests/src/Functional/RestRegisterUserTest.php Tests that only anonymous users can register users.
RestRegisterUserTest::TEST_EMAIL_DOMAIN constant core/modules/user/tests/src/Functional/RestRegisterUserTest.php
RestRegisterUserTest::USER_EMAIL_DOMAIN constant core/modules/user/tests/src/Functional/RestRegisterUserTest.php
RESTTestBase::removeNodeFieldsForNonAdminUsers function core/modules/rest/src/Tests/RESTTestBase.php Remove node fields that can only be written by an admin user.
RevisionLogEntityTrait::getRevisionUser function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().
RevisionLogEntityTrait::getRevisionUserId function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId().
RevisionLogEntityTrait::setRevisionUser function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser().
RevisionLogEntityTrait::setRevisionUserId function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().
RevisionLogInterface::getRevisionUser function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Gets the entity revision author.
RevisionLogInterface::getRevisionUserId function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Gets the entity revision author ID.
RevisionLogInterface::setRevisionUser function core/lib/Drupal/Core/Entity/RevisionLogInterface.php Sets the entity revision author.

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