You are here

function locale_modules_enabled in Drupal 7

Implements hook_modules_enabled().

1 call to locale_modules_enabled()
locale_modules_disabled in modules/locale/locale.module
Implements hook_modules_disabled().

File

modules/locale/locale.module, line 639
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();
}