src/Sulu/Component/DocumentManager/Subscriber/Phpcr/RefreshSubscriber.php
public function refreshDocumentForDeleteDraft(RemoveDraftEvent $event)
    {
        $this->rehydrateDocument($event->getDocument(), $event->getNode(), $event->getLocale());
    }
public function refreshDocumentForDeleteDraft(RemoveDraftEvent $event)
    {
        $this->rehydrateDocument($event->getDocument(), $event->getNode(), $event->getLocale());
    }
public function refreshDocumentForDeleteDraft ( RemoveDraftEvent $ event ) { $ this -> rehydrateDocument ( $ event -> getDocument ( ) , $ event -> getNode ( ) , $ event -> getLocale ( ) ) ; }
Refreshes the document after a draft have been removed.

@param RemoveDraftEvent $event
Refreshes the document after a draft have been removed .