Search for cancel

  1. Search 7.x for cancel
  2. Search 9.5.x for cancel
  3. Search 8.9.x for cancel
  4. Search 10.3.x for cancel
  5. Search main for cancel
  6. Other projects
Title Object type File name Summary
UserCancelForm::create function core/modules/user/src/Form/UserCancelForm.php Instantiates a new instance of the implementing class using autowiring.
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…
UserCancelForm::__construct function core/modules/user/src/Form/UserCancelForm.php Constructs a ContentEntityForm object.
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.
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 other users.
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.
UserController::$accountCancellation property core/modules/user/src/Controller/UserController.php The account cancellation service.
UserController::confirmCancel function core/modules/user/src/Controller/UserController.php Confirms cancelling a user account via an email link.
UserFormTestHooks::formUserCancelFormAlter function core/modules/user/tests/modules/user_form_test/src/Hook/UserFormTestHooks.php Implements hook_form_FORM_ID_alter() for user_cancel_form().
UserLogoutConfirm::getCancelUrl function core/modules/user/src/Form/UserLogoutConfirm.php Returns the route to go to if the user cancels the action.
UserMultipleCancelConfirm class core/modules/user/src/Form/UserMultipleCancelConfirm.php Provides a confirmation form for cancelling multiple user accounts.
UserMultipleCancelConfirm.php file core/modules/user/src/Form/UserMultipleCancelConfirm.php
UserMultipleCancelConfirm::$entityTypeManager property core/modules/user/src/Form/UserMultipleCancelConfirm.php The entity type manager.
UserMultipleCancelConfirm::$tempStoreFactory property core/modules/user/src/Form/UserMultipleCancelConfirm.php The temp store factory.
UserMultipleCancelConfirm::$userStorage property core/modules/user/src/Form/UserMultipleCancelConfirm.php The user storage.
UserMultipleCancelConfirm::buildForm function core/modules/user/src/Form/UserMultipleCancelConfirm.php Form constructor.
UserMultipleCancelConfirm::create function core/modules/user/src/Form/UserMultipleCancelConfirm.php Instantiates a new instance of the implementing class using autowiring.
UserMultipleCancelConfirm::getCancelUrl function core/modules/user/src/Form/UserMultipleCancelConfirm.php Returns the route to go to if the user cancels the action.
UserMultipleCancelConfirm::getConfirmText function core/modules/user/src/Form/UserMultipleCancelConfirm.php Returns a caption for the button that confirms the action.
UserMultipleCancelConfirm::getDescription function core/modules/user/src/Form/UserMultipleCancelConfirm.php Returns additional text to display as a description.
UserMultipleCancelConfirm::getFormId function core/modules/user/src/Form/UserMultipleCancelConfirm.php Returns a unique string identifying the form.
UserMultipleCancelConfirm::getQuestion function core/modules/user/src/Form/UserMultipleCancelConfirm.php Returns the question to ask the user.
UserMultipleCancelConfirm::submitForm function core/modules/user/src/Form/UserMultipleCancelConfirm.php Form submission handler.
UserMultipleCancelConfirm::__construct function core/modules/user/src/Form/UserMultipleCancelConfirm.php
UserTest::testDeleteRespectsUserCancelBlock function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block.
UserTest::testDeleteRespectsUserCancelBlockUnpublish function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block_unpublish.

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