W3cubDocs

/Drupal 8

function locale_module_preuninstall

locale_module_preuninstall($module)

Implements hook_module_preuninstall().

File

core/modules/locale/locale.module, line 325
Enables the translation of the user interface to languages other than English.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!locale!locale.module/function/locale_module_preuninstall/8.1.x