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
UserResourceTestBase::getExpectedCacheContexts function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
UserResourceTestBase::getExpectedNormalizedEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Returns the expected normalization of the entity.
UserResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Return the expected error message.
UserResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The cacheability of unauthorized 'view' entity access.
UserResourceTestBase::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Returns the normalized POST entity.
UserResourceTestBase::setUpAuthorization function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Sets up the necessary authorization.
UserResourceTestBase::testPatchDxForSecuritySensitiveBaseFields function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Tests PATCHing security-sensitive base fields of the logged in account.
UserResourceTestBase::testPatchSecurityOtherUser function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Tests PATCHing security-sensitive base fields to change other users.
UserResourceTestBase::userResourceTestBaseSkipTests function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Marks some tests as skipped because XML cannot be deserialized.
UserRole class core/modules/user/src/Plugin/Condition/UserRole.php Provides a 'User Role' condition.
UserRole.php file core/modules/user/src/Plugin/Condition/UserRole.php
UserRole::buildConfigurationForm function core/modules/user/src/Plugin/Condition/UserRole.php Form constructor.
UserRole::defaultConfiguration function core/modules/user/src/Plugin/Condition/UserRole.php Gets default configuration for this plugin.
UserRole::evaluate function core/modules/user/src/Plugin/Condition/UserRole.php Evaluates the condition and returns TRUE or FALSE accordingly.
UserRole::getCacheContexts function core/modules/user/src/Plugin/Condition/UserRole.php
UserRole::submitConfigurationForm function core/modules/user/src/Plugin/Condition/UserRole.php Form submission handler.
UserRole::summary function core/modules/user/src/Plugin/Condition/UserRole.php Provides a human readable summary of the condition's configuration.
UserRoleAdminTest class core/modules/user/tests/src/Functional/UserRoleAdminTest.php Tests adding, editing and deleting user roles and changing role weights.
UserRoleAdminTest.php file core/modules/user/tests/src/Functional/UserRoleAdminTest.php
UserRoleAdminTest::$adminUser property core/modules/user/tests/src/Functional/UserRoleAdminTest.php User with admin privileges.
UserRoleAdminTest::$defaultTheme property core/modules/user/tests/src/Functional/UserRoleAdminTest.php The theme to install as the default for testing.
UserRoleAdminTest::$modules property core/modules/user/tests/src/Functional/UserRoleAdminTest.php Modules to install.
UserRoleAdminTest::setUp function core/modules/user/tests/src/Functional/UserRoleAdminTest.php
UserRoleAdminTest::testRoleAdministration function core/modules/user/tests/src/Functional/UserRoleAdminTest.php Tests adding, renaming and deleting roles.
UserRoleAdminTest::testRoleWeightOrdering function core/modules/user/tests/src/Functional/UserRoleAdminTest.php Tests user role weight change operation and ordering.
UserRoleConditionTest class core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php Tests the user role condition.
UserRoleConditionTest.php file core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
UserRoleConditionTest::$anonymous property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php An anonymous user for testing purposes.
UserRoleConditionTest::$authenticated property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php An authenticated user for testing purposes.
UserRoleConditionTest::$manager property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php The condition plugin manager.
UserRoleConditionTest::$modules property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php Modules to install.
UserRoleConditionTest::$role property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php A custom role for testing purposes.
UserRoleConditionTest::setUp function core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
UserRoleConditionTest::testConditions function core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php Tests the user_role condition.
UserRoleDeleteTest class core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Tests the handling of user_role entity from the user module.
UserRoleDeleteTest.php file core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
UserRoleDeleteTest::$modules property core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Modules to install.
UserRoleDeleteTest::setUp function core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
UserRoleDeleteTest::testDependenciesRemoval function core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Tests the removal of user role dependencies.
UserRoleDeleteTest::testRoleDeleteUserRoleReferenceDelete function core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Tests removal of role references on role entity delete.
UserRoleEntityTest class core/modules/user/tests/src/Kernel/UserRoleEntityTest.php @group user
@coversDefaultClass \Drupal\user\Entity\Role[[api-linebreak]]
UserRoleEntityTest.php file core/modules/user/tests/src/Kernel/UserRoleEntityTest.php
UserRoleEntityTest::$modules property core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Modules to install.
UserRoleEntityTest::register function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Registers test-specific services.
UserRoleEntityTest::testGrantingNonExistentPermission function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests granting non-existent permissions to a role.
UserRoleEntityTest::testOrderOfPermissions function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests the order of granted permissions in a role.
UserRoleEntityTest::testPermissionRevokeAndConfigSync function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests permission revocation during a configuration synchronization.
UserRolesAccessPolicy class core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Grants permissions based on a user's roles.
UserRolesAccessPolicy.php file core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php
UserRolesAccessPolicy::calculatePermissions function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Calculates the permissions for an account within a given scope.

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