function system_post_update_sdc_uninstall

Same name and namespace in other branches
  1. 11.x core/modules/system/system.post_update.php \system_post_update_sdc_uninstall()

Uninstall the sdc module if installed.

File

core/modules/system/system.post_update.php, line 88

Code

function system_post_update_sdc_uninstall() : void {
  if (\Drupal::moduleHandler()->moduleExists('sdc')) {
    \Drupal::service('module_installer')->uninstall([
      'sdc',
    ], FALSE);
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.