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
UserRolesAssignmentTest::testAssignAndRemoveRole function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Test that user can be assigned role and that the role can be removed again.
UserRolesAssignmentTest::testCreateUserWithRole function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Tests assigning a role at user creation and removing the role.
UserRolesAssignmentTest::userLoadAndCheckRoleAssigned function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Check role on user object.
UserRolesCacheContext class core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php Defines the UserRolesCacheContext service, for "per role" caching.
UserRolesCacheContext.php file core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php
UserRolesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php Gets cacheability metadata for the context based on the parameter value.
UserRolesCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php Returns the string representation of the cache context.
UserRolesCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php Returns the label of the cache context.
UserRolesCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\UserRolesCacheContext
@group Cache
UserRolesCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php
UserRolesCacheContextTest::testCalculatedRole function core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php @covers ::getContext
UserRolesPermissionsTest class core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Test case for getting permissions from user roles.
UserRolesPermissionsTest.php file core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::$modules property core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Modules to install.
UserRolesPermissionsTest::setUp function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Tests that assigning a role grants that role's permissions.
UserRoleTest class core/modules/user/tests/src/Kernel/Views/UserRoleTest.php Tests rendering when the role is numeric.
UserRoleTest.php file core/modules/user/tests/src/Kernel/Views/UserRoleTest.php
UserRoleTest::testNumericRole function core/modules/user/tests/src/Kernel/Views/UserRoleTest.php Tests numeric role.
UserRouteAlterSubscriber class core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php Alters user authentication routes to support added serialization formats.
UserRouteAlterSubscriber.php file core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php
UserRouteAlterSubscriber::$serializerFormats property core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php The available serialization formats.
UserRouteAlterSubscriber::getSubscribedEvents function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php
UserRouteAlterSubscriber::onRoutingAlterAddFormats function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php Adds supported formats to the user authentication HTTP routes.
UserRouteAlterSubscriber::__construct function core/modules/serialization/src/EventSubscriber/UserRouteAlterSubscriber.php UserRouteAlterSubscriber constructor.
UserRouteAlterTest class core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Tests that the user routes can be altered.
UserRouteAlterTest.php file core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php
UserRouteAlterTest::$modules property core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Modules to install.
UserRouteAlterTest::testUserAlteredRoute function core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Tests the altered 'user.login.http' route.
UserRouteProvider class core/modules/user/src/Entity/UserRouteProvider.php Provides routes for the user entity.
UserRouteProvider.php file core/modules/user/src/Entity/UserRouteProvider.php
UserRouteProvider::getRoutes function core/modules/user/src/Entity/UserRouteProvider.php Provides routes for entities.
UserRow class core/modules/user/src/Plugin/views/row/UserRow.php A row plugin which renders a user.
UserRow.php file core/modules/user/src/Plugin/views/row/UserRow.php
UserRow::defineOptions function core/modules/user/src/Plugin/views/row/UserRow.php Information about options for all kinds of purposes will be held here.
Users class core/modules/user/src/Plugin/views/wizard/Users.php Tests creating user views with the wizard.
Users.php file core/modules/user/src/Plugin/views/wizard/Users.php
users.yml file core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migrations/users.yml core/modules/migrate_drupal/tests/modules/migrate_overwrite_test/migrations/users.yml
Users::$createdColumn property core/modules/user/src/Plugin/views/wizard/Users.php Set the created column.
Users::$filters property core/modules/user/src/Plugin/views/wizard/Users.php Set default values for the filters.
Users::defaultDisplayOptions function core/modules/user/src/Plugin/views/wizard/Users.php Assembles the default display options for the view.
UserSaveStatusTest class core/modules/user/tests/src/Kernel/UserSaveStatusTest.php Tests user saving status.
UserSaveStatusTest.php file core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
UserSaveStatusTest::$modules property core/modules/user/tests/src/Kernel/UserSaveStatusTest.php Modules to install.
UserSaveStatusTest::setUp function core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
UserSaveStatusTest::testUserSaveStatus function core/modules/user/tests/src/Kernel/UserSaveStatusTest.php Tests SAVED_NEW and SAVED_UPDATED statuses for user entity type.
UserSaveTest class core/modules/user/tests/src/Kernel/UserSaveTest.php Tests account saving for arbitrary new uid.
UserSaveTest.php file core/modules/user/tests/src/Kernel/UserSaveTest.php
UserSaveTest::$modules property core/modules/user/tests/src/Kernel/UserSaveTest.php Modules to install.
UserSaveTest::testExistingPasswordRemoval function core/modules/user/tests/src/Kernel/UserSaveTest.php Ensures that an existing password is unset after the user was saved.

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