Skip to content

Kirby 5.2.0

$languageVariable->language()

Returns the parent language

$languageVariable->language(): Kirby\Cms\Language

Return type

Kirby\Cms\Language

This method modifies the existing $languagevariable object it is applied to and returns it again.

Parent class

Kirby\Cms\LanguageVariable