Skip to content

Kirby 4.5.0

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