Skip to content

Kirby 3.8.4

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