function LocaleHooks::modulePreuninstall

Implements hook_module_preuninstall().

File

core/modules/locale/src/Hook/LocaleHooks.php, line 169

Class

LocaleHooks
Hook implementations for locale.

Namespace

Drupal\locale\Hook

Code

public function modulePreuninstall($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.