Skip to content

Kirby 5.0.4

$fields->language()

Returns the language of the fields

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

Return type

Kirby\Cms\Language

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

Parent class

Kirby\Form\Fields