Skip to content

Kirby 4.4.1

$layouts->prepend()

Prepends an element to the data array

$layouts->prepend(mixed ...$args = null): Kirby\Cms\Collection

Parameters

Name Type Default
... $args mixed null

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\Layouts inherited from Kirby\Cms\Collection