function locale_module_preuninstall in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/locale.module \locale_module_preuninstall()
- 10 core/modules/locale/locale.module \locale_module_preuninstall()
Implements hook_module_preuninstall().
File
- core/
modules/ locale/ locale.module, line 329 - Enables the translation of the user interface to languages other than English.
Code
function locale_module_preuninstall($module) {
$components['module'] = [
$module,
];
locale_system_remove($components);
}