DNADesign\Elemental\TopPage\SiteTreeExtension::addDuplicatedObject
Registers the given object to receive an updated TopPage reference after the duplication operation completes, ensuring the new Page is written to the database beforehand.
The registry uses a stack-like structure to allow accurate tracking of objects during duplication operations that include nested pages.
Signature
public function addDuplicatedObject(DataObject
$object )
Parameters
$object
— SilverStripe\ORM\DataObject