Problem/Motivation

During the planning of #3229146: Rename "Account cancellation" to "Account closure" in UI, we decided to split the UI changes and the backwords-compatibility-breaking code changes out into separate issues.

This issue is marked as postponed until the UI text issue has been completed.

Steps to reproduce

Proposed resolution

The aim of #3229146: Rename "Account cancellation" to "Account closure" in UI is to remove the usage of the terms "cancel"/"cancellation" relating to user cancellation, and replace their usage with "close"/"closure". The relevant form classes should be renamed to align with this change, along with updating route and link names.

Remaining tasks

  1. Decide how much of this we can do in a minor release and how much needs to be done in a major release.
  2. Rename form classes UserCancelForm and UserMultipleCancelConfirm.
  3. Rename routes entity.user.cancel_form and user.multiple_cancel_confirm. Decide if we should probably take the opportunity to align with the Entity API and use delete_form and delete_multiple_form as the route names.
  4. Update the paths /user/{user}/cancel and /admin/people/cancel.
  5. Find any other relevant usage of those terms that needs to be updated.

User interface changes

API changes

Data model changes

Release notes snippet

Comments

AaronMcHale created an issue. See original summary.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.