Add Confirmation Page for theme uninstall

Created on 22 November 2019, over 5 years ago
Updated 14 May 2025, 23 days ago

Problem/Motivation

Theme uninstall does not show the confirmation page to show what are the configurations will be deleted or updated.

Steps to reproduce

  1. Install standard profile
  2. Go to /admin/appearance
  3. Set Claro as the default theme
  4. Uninstall Olivero

Proposed resolution

We have confirmation page for module uninstall. It will show the what are configurations will be update or deleted after uninstall. Same we need to implement the confirmation page for theme uninstall.

Remaining tasks

User interface changes

Uninstalling a theme shows a confirmation page listing the configurations that will be updated or deleted.

Introduced terminology

API changes

Data model changes

Release notes snippet

Feature request
Status

Active

Version

11.0 🔥

Component

system.module

Created by

🇮🇳India iyyappan.govind Chennai, India

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇺Australia mstrelan

    Updated the IS with issue template and added steps to reproduce.

  • 🇦🇺Australia mstrelan

    We already have \Drupal\Core\Config\Entity\ConfigDependencyDeleteFormTrait::addDependencyListsToForm. We need to add the confirm form step as per \Drupal\system\Form\ModulesUninstallForm::submitForm and \Drupal\system\Form\ModulesUninstallConfirmForm::buildForm.

  • Merge request !12117ThemeUninstallConfirmForm.php → (Open) created by mstrelan
  • 🇦🇺Australia mstrelan

    Added a first pass, seems to work from rudimentary testing. Needs test coverage.

  • Pipeline finished with Failed
    23 days ago
    Total: 169s
    #496672
  • Pipeline finished with Failed
    23 days ago
    Total: 473s
    #496677
Production build 0.71.5 2024