Skip to content

Kirby 3.5.7.1

$structureobject->hardcopy()

Creates a clone and fetches all lazy-loaded getters to get a full copy

$structureobject->hardcopy(): Kirby\Cms\StructureObject

Return type

Kirby\Cms\StructureObject

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

Parent class

Kirby\Cms\StructureObject inherited from Kirby\Cms\Model