$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
|