Skip to content

Kirby 4.5.0

$fieldsets->extend()

Adds all elements to the collection

$fieldsets->extend(mixed $items): Kirby\Cms\Fieldsets

Parameters

Name Type Default
$items * mixed

Return type

Kirby\Cms\Fieldsets

This method does not modify the existing $fieldsets object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Fieldsets inherited from Kirby\Toolkit\Collection