Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Objective
- #2232605: Themes cannot be uninstalled allows themes to be uninstalled via API functions.
- System module's Appearance page does not offer a corresponding uninstallation functionality in the UI.
Comments
Comment #1
sunComment #2
sunThe functional implementation is postponed on #2232605: Themes cannot be uninstalled
However, I think we should kick-start some design + usability considerations already, because:
The following operations exist:
* "Set as admin" is not part of the operation links currently, but in a separate fieldset + select list instead (which looks weird). That is, because the operation is accompanied by a "Set no theme as admin theme" operation. FWIW, in technical terms, setting no theme as admin theme means the same as setting the default theme as admin theme.
** "Settings" is not an operation link currently. The settings for a particular theme are reached via (disconnected) tabs on the page.
The most commonly used operation is "Enable and set as default".
The sense and fate of "Disable" is unclear right now and to be figured out in #2250155: Rethink how former use-cases for disabled themes can be supported in D8
For consistency, it would be great if (almost) all operations were exposed for each theme in the same order, whereas inapplicable operations would be disabled/greyed-out.
Thinking of available patterns in core, perhaps we should consider to use a Dropbutton/split-button?
Comment #3
tim.plunkettThis is either a normal task or a major feature.
Comment #4
RainbowArrayIt looks like there are still a few remaining tasks to allow themes to be uninstalled. It's been a few months since we've had action on this. Since this is primarily a UI change, I don't think this would be a beta deadline?
Comment #5
alexpottThe latest patch on #2232605: Themes cannot be uninstalled completely replaces disable with uninstall making this issue redundant.
Comment #6
jhedstrom