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()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

field_multilingual_settings_changed in modules/field/field.multilingual.inc
Implements hook_multilingual_settings_changed().
3 invocations of hook_multilingual_settings_changed()
locale_add_language in includes/locale.inc
API function to add a language.
locale_languages_delete_form_submit in modules/locale/locale.admin.inc
Process language deletion submissions.
locale_languages_overview_form_submit in modules/locale/locale.admin.inc
Process language overview form submissions, updating existing languages.

File

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

Code

function hook_multilingual_settings_changed() {
  field_info_cache_clear();
}