Skip to content

Kirby 6.0.0

$languageValidators->validateDefault()

Validates that no other language has been set as default yet. Unlike the update action, create does not demote the previous default and would thus end up with two of them.

$languageValidators->validateDefault(): void

Parent class

Kirby\Guards\LanguageValidators