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
UserBlocksTest::setUp function core/modules/user/tests/src/Functional/UserBlocksTest.php
UserBlocksTest::testUserLoginBlock function core/modules/user/tests/src/Functional/UserBlocksTest.php Tests the user login block.
UserBlocksTest::testUserLoginBlockVisibility function core/modules/user/tests/src/Functional/UserBlocksTest.php Tests that user login block is hidden from user/login.
UserBulkForm class core/modules/user/src/Plugin/views/field/UserBulkForm.php Defines a user operations bulk form element.
UserBulkForm.php file core/modules/user/src/Plugin/views/field/UserBulkForm.php
UserBulkForm::emptySelectedMessage function core/modules/user/src/Plugin/views/field/UserBulkForm.php Returns the message to be displayed when there are no selected items.
UserBulkForm::viewsForm function core/modules/user/src/Plugin/views/field/UserBulkForm.php Provide a more useful title to improve the accessibility.
UserBulkFormTest class core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php @coversDefaultClass \Drupal\user\Plugin\views\field\UserBulkForm[[api-linebreak]]
@group user
UserBulkFormTest.php file core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
UserBulkFormTest::tearDown function core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
UserBulkFormTest::testConstructor function core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php Tests the constructor assignment of actions.
UserCacheContext class core/lib/Drupal/Core/Cache/Context/UserCacheContext.php Defines the UserCacheContext service, for "per user" caching.
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 Constraint for the user cancel method.
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.

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