Skip to content

Kirby 4.2.0

Panel::setLanguage()

Set the current language in multi-lang installations based on the session or the query language query parameter

Panel::setLanguage(): string|null

Return type

string|null

Parent class

Kirby\Panel\Panel