Update Drupal Debug Hints authored by Tom Wiesing's avatar Tom Wiesing
...@@ -26,7 +26,7 @@ configuration, but they are missing: ...@@ -26,7 +26,7 @@ configuration, but they are missing:
To fix this, either re-install the module (using composer and friends) or run this code to disable it: To fix this, either re-install the module (using composer and friends) or run this code to disable it:
```php ```php
drush eval "\$modname='id-of-module';\$module_data = \Drupal::config('core.extension')->get('module'); unset(\$module_data[\$modname]); \Drupal::configFactory()->getEditable('core.extension')->set('module', \$module_data)->save();" drush eval "function disable(\$modname) { \$module_data = \Drupal::config('core.extension')->get('module'); unset(\$module_data[\$modname]); \Drupal::configFactory()->getEditable('core.extension')->set('module', \$module_data)->save(); }; disable('name-of-module'); "
``` ```
# Factory SSH Forwarding # Factory SSH Forwarding
... ...
......