Skip to content

Kirby 3.8.4

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