Skip to content

Kirby 4.4.1

$layouts->clone()

Returns a cloned instance of the collection

$layouts->clone(): Kirby\Cms\Layouts

Return type

Kirby\Cms\Layouts

This method modifies the existing $layouts object it is applied to and returns it again.

Parent class

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