Skip to content

Kirby 5.1.1

$language->id()

The id is required for collections to work properly. The code is used as id

$language->id(): string

Return type

string

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

Parent class

Kirby\Cms\Language