hook_multilingual_settings_changed

  1. drupal
    1. 7
Versions
7 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

Code

modules/locale/locale.api.php, line 179

<?php
function hook_multilingual_settings_changed() {
  field_info_cache_clear();
}
?>