Skip to content

Kirby 5.0.2

$api->language()

Returns the language request header

$api->language(): string|null

Return types

stringornull

Parent class

Kirby\Cms\Api