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
UserCacheContext.php file core/lib/Drupal/Core/Cache/Context/UserCacheContext.php
UserCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/UserCacheContext.php Gets the cacheability metadata for the context.
UserCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/UserCacheContext.php Returns the string representation of the cache context.
UserCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/UserCacheContext.php Returns the label of the cache context.
UserCacheContextBase class core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php Base class for user-based cache contexts.
UserCacheContextBase.php file core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php
UserCacheContextBase::$user property core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php The account object.
UserCacheContextBase::__construct function core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php Constructs a new UserCacheContextBase class.
UserCacheTagsTest class core/modules/user/tests/src/Functional/UserCacheTagsTest.php Tests the User entity's cache tags.
UserCacheTagsTest.php file core/modules/user/tests/src/Functional/UserCacheTagsTest.php
UserCacheTagsTest::$defaultTheme property core/modules/user/tests/src/Functional/UserCacheTagsTest.php The theme to install as the default for testing.
UserCacheTagsTest::$modules property core/modules/user/tests/src/Functional/UserCacheTagsTest.php Modules to install.
UserCacheTagsTest::createEntity function core/modules/user/tests/src/Functional/UserCacheTagsTest.php Creates the entity to be tested.
UserCacheTagsTest::getAdditionalCacheTagsForEntityListing function core/modules/user/tests/src/Functional/UserCacheTagsTest.php Returns the additional cache tags for the tested entity's listing by type.
UserCacheTagsTest::setUp function core/modules/user/tests/src/Functional/UserCacheTagsTest.php
UserCancelForm class core/modules/user/src/Form/UserCancelForm.php Provides a confirmation form for cancelling user account.
UserCancelForm.php file core/modules/user/src/Form/UserCancelForm.php
UserCancelForm::$cancelMethods property core/modules/user/src/Form/UserCancelForm.php Available account cancellation methods.
UserCancelForm::$entity property core/modules/user/src/Form/UserCancelForm.php The account being cancelled.
UserCancelForm::$selectCancel property core/modules/user/src/Form/UserCancelForm.php Whether it is allowed to select cancellation method.
UserCancelForm::buildForm function core/modules/user/src/Form/UserCancelForm.php Form constructor.
UserCancelForm::getCancelUrl function core/modules/user/src/Form/UserCancelForm.php Returns the route to go to if the user cancels the action.
UserCancelForm::getConfirmText function core/modules/user/src/Form/UserCancelForm.php Returns a caption for the button that confirms the action.
UserCancelForm::getDescription function core/modules/user/src/Form/UserCancelForm.php Returns additional text to display as a description.
UserCancelForm::getQuestion function core/modules/user/src/Form/UserCancelForm.php Returns the question to ask the user.
UserCancelForm::submitForm function core/modules/user/src/Form/UserCancelForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
UserCancelMethodsConstraint class core/modules/user/src/Plugin/Validation/Constraint/UserCancelMethodsConstraint.php
UserCancelMethodsConstraint.php file core/modules/user/src/Plugin/Validation/Constraint/UserCancelMethodsConstraint.php
UserCancelMethodsConstraint::create function core/modules/user/src/Plugin/Validation/Constraint/UserCancelMethodsConstraint.php Creates an instance of the plugin.
UserCancelTest class core/modules/user/tests/src/Functional/UserCancelTest.php Ensure that account cancellation methods work as expected.
UserCancelTest.php file core/modules/user/tests/src/Functional/UserCancelTest.php
UserCancelTest::$defaultTheme property core/modules/user/tests/src/Functional/UserCancelTest.php The theme to install as the default for testing.
UserCancelTest::$modules property core/modules/user/tests/src/Functional/UserCancelTest.php Modules to install.
UserCancelTest::setUp function core/modules/user/tests/src/Functional/UserCancelTest.php
UserCancelTest::testMassUserCancelByAdmin function core/modules/user/tests/src/Functional/UserCancelTest.php Create an administrative user and mass-delete other users.
UserCancelTest::testUserAnonymize function core/modules/user/tests/src/Functional/UserCancelTest.php Delete account and anonymize all content.
UserCancelTest::testUserAnonymizeBatch function core/modules/user/tests/src/Functional/UserCancelTest.php Delete account and anonymize all content using a batch process.
UserCancelTest::testUserAnonymizeTranslations function core/modules/user/tests/src/Functional/UserCancelTest.php Delete account and anonymize all content and it's translations.
UserCancelTest::testUserBlock function core/modules/user/tests/src/Functional/UserCancelTest.php Disable account and keep all content.
UserCancelTest::testUserBlockUnpublish function core/modules/user/tests/src/Functional/UserCancelTest.php Disable account and unpublish all content.
UserCancelTest::testUserBlockUnpublishNodeAccess function core/modules/user/tests/src/Functional/UserCancelTest.php Tests nodes are unpublished even if inaccessible to cancelling user.
UserCancelTest::testUserCancelByAdmin function core/modules/user/tests/src/Functional/UserCancelTest.php Create an administrative user and delete another user.
UserCancelTest::testUserCancelChangePermission function core/modules/user/tests/src/Functional/UserCancelTest.php Tests ability to change the permission for canceling users.
UserCancelTest::testUserCancelInvalid function core/modules/user/tests/src/Functional/UserCancelTest.php Attempt invalid account cancellations.
UserCancelTest::testUserCancelUid1 function core/modules/user/tests/src/Functional/UserCancelTest.php Tests that user account for uid 1 cannot be cancelled.
UserCancelTest::testUserCancelWithoutPermission function core/modules/user/tests/src/Functional/UserCancelTest.php Attempt to cancel account without permission.
UserCancelTest::testUserDelete function core/modules/user/tests/src/Functional/UserCancelTest.php Delete account and remove all content.
UserCancelTest::testUserDeleteWithContentAndNodeAccess function core/modules/user/tests/src/Functional/UserCancelTest.php Tests user cancel with node access.
UserCancelTest::testUserWithoutEmailCancelByAdmin function core/modules/user/tests/src/Functional/UserCancelTest.php Tests deletion of a user account without an email address.
UserChangedTest class core/modules/user/tests/src/Functional/Views/UserChangedTest.php Tests the changed field.

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