Skip to content

Kirby 3.8.4

$blocksfield->prevAll()

Returns the beginning of the collection before the current item

$blocksfield->prevAll(\Kirby\Cms\Collection|null $collection = null): Kirby\Cms\Collection

Parameters

Name Type Default
$collection Kirby\Cms\Collection|null null

Return type

Kirby\Cms\Collection

Parent class

Kirby\Form\Field\BlocksField inherited from Kirby\Form\FieldClass