function locale_module_preuninstall

Same name in other branches
  1. 9 core/modules/locale/locale.module \locale_module_preuninstall()
  2. 10 core/modules/locale/locale.module \locale_module_preuninstall()
  3. 11.x core/modules/locale/locale.module \locale_module_preuninstall()

Implements hook_module_preuninstall().

File

core/modules/locale/locale.module, line 329

Code

function locale_module_preuninstall($module) {
    $components['module'] = [
        $module,
    ];
    locale_system_remove($components);
}

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