Skip to content

Kirby 4.5.0

$language->isDefault()

Checks if this is the default language for the site.

$language->isDefault(): bool

Return type

bool

Parent class

Kirby\Cms\Language