function locale_themes_enabled

7.x locale.module locale_themes_enabled($themes)

Implements hook_themes_enabled().

@todo This is technically wrong. We must not import upon enabling, but upon initial installation. The theme system is missing an installation hook.

File

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

Code

function locale_themes_enabled($themes) {
  locale_system_update($themes);
}