Blocks::factory()
Wrapper around the factory to catch blocks from layouts
Blocks::factory(array $items = null, array $params = [ ]): Kirby\Cms\Blocks
Parameters
Name | Type | Default |
---|---|---|
$items | array |
null |
$params | array |
[ ] |