When you try to run the $ drush devel-reinstall module_name command on a D8 site, it fails with the message "Drupal 8 does not support disabling modules.". This is due to Modules cannot be in a disabled state anymore, only installed and uninstalled.

The attached patch simply makes sure to only trigger pm-disable if the Core version is below D8.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

anavarre’s picture

Status: Active » Needs review
FileSize
1.09 KB

This other approach simply removes any reference to pm-disable since we don't need it for devel 8.x anyway.

Status: Needs review » Needs work

The last submitted patch, 1: fix-reinstall-drupal8-alternate.patch, failed testing.

anavarre’s picture

Status: Needs work » Needs review

Bot?

The last submitted patch, fix-reinstall-drupal8.patch, failed testing.

moshe weitzman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.