services.yml Navigate to \sites\default create a the file sites/default/services.yml from sites/default/default.services.yml set the parameters as follows: parameters: twig.config: debug: true auto_reload: true cache: false settings.local.php Navigate to / sites/ Make a copy of example.settings.local.php and rename it to settings.local.php Locate the following lines and uncomment # $settings['cache']['bins']['render'] = 'cache.backend.null'; # $settings['cache']['bins']['page'] = 'cache.backend.null'; # $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null'; settings.php Navigate to sites\default Open settings.php and search for ' local.php ' You should then find the following code block if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) { include $app_root . '/' . $site_path . '/settings.local.php'; }
drush eval "\$module_data = \Drupal::config('core.extension')->get('module'); unset(\$module_data['MODULE_NAME']); \Drupal::configFactory()->getEditable('core.extension')->set('module', \$module_data)->save();" If you get any more warning like below: Then run this commands too: drush php - eval "\Drupal::keyValue('system.schema')->delete('my_already_removed_module');" drush php - eval "\Drupal::keyValue('system.schema')->delete('update_test_0');" Source:https://drupal.stackexchange.com/questions/72927/manually-disable-a-module Contribution from: https://eduvai.com
Comments
Post a Comment