Skip to content

Kirby 3.9.1

language.update:before

/site/config/config.php
return [
    'hooks' => [
        'language.update:before' => function (Kirby\Cms\Language $language, array $input) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$language Kirby\Cms\Language
$input array