1.20.x 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

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

Code

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