Skip to content

Kirby 5.3.1

$fieldsets->current()

Returns the current element

Deprecated
$fieldsets->current(): 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\Iterator