Skip to content

Kirby 4.5.0

$files->prepend()

Prepends an element to the data array

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

Parameters

Name Type Default
... $args mixed null

Return type

Kirby\Cms\Collection

Parent class

Kirby\Cms\Files inherited from Kirby\Cms\Collection