Skip to content

Kirby 3.9.8

$fieldsets->empty()

Clone and remove all elements from the collection

$fieldsets->empty(): Kirby\Cms\Fieldsets

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