summaryrefslogtreecommitdiff
path: root/modules/locale/locale.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.api.php')
-rw-r--r--modules/locale/locale.api.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/locale/locale.api.php b/modules/locale/locale.api.php
index b1805e2e0..461f459a4 100644
--- a/modules/locale/locale.api.php
+++ b/modules/locale/locale.api.php
@@ -137,5 +137,12 @@ function hook_language_negotiation_info_alter(array &$language_providers) {
}
/**
+ * Allow modules to react to language settings changes.
+ */
+function hook_multilingual_settings_changed() {
+ cache_clear_all('field_info_types', 'cache_field');
+}
+
+/**
* @} End of "addtogroup hooks".
*/