plugin/drop-zone/Manager/DropzoneManager.php
public function deleteDrop(Drop $drop)
    {
        $this->om->startFlushSuite();
        $documents = $drop->getDocuments();

        foreach ($documents as $document) {
            $this->deleteDocument($document);
        }
        $this->om->remove($drop);
        $this->om->endFlushSuite();
    }
public function deleteDrop(Drop $drop)
    {
        $this->om->startFlushSuite();
        $documents = $drop->getDocuments();

        foreach ($documents as $document) {
            $this->deleteDocument($document);
        }
        $this->om->remove($drop);
        $this->om->endFlushSuite();
    }
public function deleteDrop ( Drop $ drop ) { $ this -> om -> startFlushSuite ( ) ; $ documents = $ drop -> getDocuments ( ) ; foreach ( $ documents as $ document ) { $ this -> deleteDocument ( $ document ) ; } $ this -> om -> remove ( $ drop ) ; $ this -> om -> endFlushSuite ( ) ; }
Deletes a Drop.

@param Drop $drop
Deletes a Drop .