function locale_modules_enabled

locale_modules_enabled($modules)

Implements hook_modules_enabled().

File

modules/locale/locale.module, line 638
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_modules_enabled($modules) {
  include_once DRUPAL_ROOT . '/includes/language.inc';
  language_types_set();
  language_negotiation_purge();
}

© 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/modules!locale!locale.module/function/locale_modules_enabled/7.x