You are here

function locale_themes_enabled in Drupal 7

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

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