1 language.api.php hook_language_insert($language)

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

Parameters

$language: A language object.

Related topics

File

core/modules/language/language.api.php, line 31
Hooks provided by the Language module.

Code

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