Skip to content

Kirby 4.4.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