Skip to content

Kirby 4.1.2

$layouts->add()

Adds a single object or an entire second collection to the current collection

$layouts->add(mixed $object)

Parameters

Name Type Default
$object * mixed

Parent class

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