1 locale.api.php hook_locale_language_insert($language)

React to a language that was just added to the system.

Parameters

$language: A language object.

Related topics

File

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

Code

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