Skip to content

Kirby 6.0.0

$togglesField->prevAll()

Returns the beginning of the collection before the current item

$togglesField->prevAll(TCollection|null $collection = null): TCollection

Parameters

Name Type Default
$collection TCollectionornull null

Return type

TCollection

Parent class

Kirby\Form\Field\TogglesField inherited from Kirby\Form\Field