Skip to content

Kirby 6.0.0

$languageValidators->validateVariables()

Validates the custom variables of the language. A variable must never shadow one of Kirby's own strings, as the Panel renders some of them as HTML.

$languageValidators->validateVariables(Language|null $oldLanguage = null): void

Parameters

Name Type Default
$oldLanguage Kirby\Cms\Languageornull null

Parent class

Kirby\Guards\LanguageValidators