/** * Sets the workflowstage for the copied node and all its children to test. This is done because newly copied pages * shouldn't be automatically published on the website. * * @param CopyEvent $event */ public function setWorkflowStageToTestForCopy(CopyEvent $event) { $this->setNodeWorkflowStageToTestForCopy($event->getCopiedNode()); }
/** * If a node is copied a node with the same UUID will be created in the live session. * * @param CopyEvent $event */ public function copyNodeInPublicWorkspace(CopyEvent $event) { $this->copyNodeWithChildrenInPublicWorkspace($event->getCopiedNode()); }