src/Sulu/Component/DocumentManager/Subscriber/Core/RegistratorSubscriber.php
public function handleRemove(RemoveEvent $event)
    {
        $document = $event->getDocument();
        $this->documentRegistry->deregisterDocument($document);
    }
public function handleRemove(RemoveEvent $event)
    {
        $document = $event->getDocument();
        $this->documentRegistry->deregisterDocument($document);
    }
public function handleRemove ( RemoveEvent $ event ) { $ document = $ event -> getDocument ( ) ; $ this -> documentRegistry -> deregisterDocument ( $ document ) ; }
Deregister removed documents.

@param RemoveEvent $event
Deregister removed documents .