Skip to content

Kirby 5.0.4

$kirby->defaultLanguage()

Returns the default language object

$kirby->defaultLanguage(): Kirby\Cms\Language|null

Return types

Kirby\Cms\Languageornull

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

Parent class

Kirby\Cms\App