Skip to content

Kirby 5.1.3

$form->language()

Returns the language of the form

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

Return type

Kirby\Cms\Language

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

Parent class

Kirby\Form\Form