Skip to content

Kirby 3.9.1

language.delete:before

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

Parameters

Parameter Type
$language Kirby\Cms\Language