Skip to content

$page->hardcopy()

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

$page->hardcopy(): Kirby\Cms\Page

Return type

Kirby\Cms\Page

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

Parent class

Kirby\Cms\Page inherited from Kirby\Cms\Model