Skip to content

Kirby 4.5.0

$layoutcolumns->empty()

Clone and remove all elements from the collection

$layoutcolumns->empty(): Kirby\Cms\LayoutColumns

Return type

Kirby\Cms\LayoutColumns

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

Parent class

Kirby\Cms\LayoutColumns inherited from Kirby\Toolkit\Collection