- Issue created by @craigkendall
- Status changed to Closed: works as designed
over 1 year ago 4:12pm 24 February 2023 - π¬πͺGeorgia iamdroid
Hi @craigkendall, thanks for reporting this.
Downloading themes (or modules) by Composer doesn't automatically install them. And removing themes by Composer doesn't automatically uninstall them from Drupal as well.
What put these themes tocore.extension
is not a Composer but Install (or Install and set as default) action on the Appearance page (or enabling theme by Drush).
To get rid of unnecessary themes you have to do Uninstall action on the Appearance page (or do it by Drush) before removing the theme by Composer.
The same way as any other theme, by the way.But you are absolutely right regarding
material_stable9
, this theme is hidden and can't be uninstalled from the Appearance page. To uninstall this theme you either have to removehidden: true
property frommaterial_base/themes/material_stable9/material_stable9.info.yml
to make it visible on the Appearance page or uninstall it by Drush:drush theme-uninstall material_stable9
. This bit is not yet documented anywhere because I still have doubts regarding using own instance of the Stable 9 theme, it may be subject to change. - πΊπΈUnited States craigkendall
You are of course correct. Thanks! Issue resolved.