How can I find out, using drush, which sites from my Drupal multisite installation have a particular module/theme enabled?


The drush command for this is:

drush @sites pml --type=theme --status=enabled --yes | grep bootstrap

That's for the bootstrap theme, for a module it would be something like this

drush @sites pml --status=enabled --yes | grep pathauto

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.