You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my most recent patch at the time of writing this (#206), I made some changes to \Drupal\Core\Extension\ModuleHandler::buildModuleDependencies that prevent uninstalling modules that enabled themes depend on. The experience is not great at the moment - Drush will output an error rather than useful information about the dependencies.
It seems like changes might be needed on Drush's end to provide useful output when a user attempts to disable a module depended-upon by an enabled theme. I'd like to make sure I implement this in a way that ensures it works well with Drush. Please weigh in on that issue if there's anything you'd like considered in that feature's implementation.
The text was updated successfully, but these errors were encountered:
After roughly a decade, this issue has been escalated to critical and may actually see completion in the near future.
https://www.drupal.org/project/drupal/issues/474684
In my most recent patch at the time of writing this (#206), I made some changes to
\Drupal\Core\Extension\ModuleHandler::buildModuleDependencies
that prevent uninstalling modules that enabled themes depend on. The experience is not great at the moment - Drush will output an error rather than useful information about the dependencies.It seems like changes might be needed on Drush's end to provide useful output when a user attempts to disable a module depended-upon by an enabled theme. I'd like to make sure I implement this in a way that ensures it works well with Drush. Please weigh in on that issue if there's anything you'd like considered in that feature's implementation.
The text was updated successfully, but these errors were encountered: