1 locale.api.php hook_locale_language_update($language)

React to a language that was just updated in the system.

Parameters

$language: A language object.

Related topics

File

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

Code

function hook_locale_language_update($language) {
  example_refresh_permissions();
}