Skip navigation
Help

hook_multilingual_settings_changed

7 locale.api.php hook_multilingual_settings_changed()

Allow modules to react to language settings changes.

Every module needing to act when the number of enabled languages changes should implement this. This is an "internal" hook and should not be invoked elsewhere. The typical implementation would trigger some kind of rebuilding, this way system components could properly react to the change of the enabled languages number.

Related topics

1 function implements hook_multilingual_settings_changed()

3 invocations of hook_multilingual_settings_changed()

File

drupal/modules/locale/locale.api.php, line 179
Hooks provided by the Locale module.

Code

function hook_multilingual_settings_changed() {
  field_info_cache_clear();
}