Skip to content

Kirby 5.0.4

$fieldsets->first()

Returns the first element

$fieldsets->first(): Kirby\Cms\Fieldset

Return type

Kirby\Cms\Fieldset

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

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection