$block->prevAll()
Returns the beginning of the collection before the current item
$block->prevAll(Kirby\Cms\Blocks|null $collection = null): Kirby\Cms\Blocks
Parameters
Name | Type | Default |
---|---|---|
$collection | Kirby\Cms\Blocks ornull |
null
|
Return type
This method modifies the existing $block
object it is applied to and returns it again.
Parent class
Kirby\Cms\Block
inherited from Kirby\Cms\Item