Skip to content

Kirby 3.8.4

$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