Skip to content

Kirby 4.2.0

$options->add()

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

$options->add(mixed $object)

Parameters

Name Type Default
$object * mixed

Parent class

Kirby\Option\Options inherited from Kirby\Cms\Collection