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.
I tried this, and couldn't get custom paths to work (ended up implementing hook_custom_theme
- which did all I needed).
Trying to uninstall didn't work, as it called two undefined functions:
admin_theme_admin_theme_info
admin_theme_list
Looks like these are simple placed in the wrong place - you'll have to refactor to get it uninstalled.
Comments
Comment #2
joel_osc CreditAttribution: joel_osc at OpenPlus commentedThis is a real issue... after the module is disabled you no longer have access to the modules functions so the uninstall bombs.
Comment #3
Jessica.K CreditAttribution: Jessica.K as a volunteer commentedRan into a similar problem today but with 500 error on uninstall attempt; turns out this may have already been solved. Try updating to dev then uninstalling, or apply the patch here and uninstall (worked for me): https://www.drupal.org/project/admin_theme/issues/1315630
If this is a different problem with the same symptom, feel free to reopen with more details.