Skip to content

Kirby 4.5.0

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