Skip to content

Kirby 5.4.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 types

stringornull

Parent class

Kirby\Panel\Panel