plugin/drop-zone/Manager/DropzoneManager.php
public function update(Dropzone $dropzone, array $data)
    {
        $this->crud->update('Claroline\DropZoneBundle\Entity\Dropzone', $data);

        $uow = $this->om->getUnitOfWork();
        $uow->computeChangeSets();
        $changeSet = $uow->getEntityChangeSet($dropzone);

        $this->eventDispatcher->dispatch('log', new LogDropzoneConfigureEvent($dropzone, $changeSet));

        return $dropzone;
    }
public function update(Dropzone $dropzone, array $data)
    {
        $this->crud->update('Claroline\DropZoneBundle\Entity\Dropzone', $data);

        $uow = $this->om->getUnitOfWork();
        $uow->computeChangeSets();
        $changeSet = $uow->getEntityChangeSet($dropzone);

        $this->eventDispatcher->dispatch('log', new LogDropzoneConfigureEvent($dropzone, $changeSet));

        return $dropzone;
    }
public function update ( Dropzone $ dropzone , array $ data ) { $ this -> crud -> update ( 'Claroline\DropZoneBundle\Entity\Dropzone' , $ data ) ; $ uow = $ this -> om -> getUnitOfWork ( ) ; $ uow -> computeChangeSets ( ) ; $ changeSet = $ uow -> getEntityChangeSet ( $ dropzone ) ; $ this -> eventDispatcher -> dispatch ( 'log' , new LogDropzoneConfigureEvent ( $ dropzone , $ changeSet ) ) ; return $ dropzone ; }
Updates a Dropzone.

@param Dropzone $dropzone
@param array    $data

@return Dropzone
Updates a Dropzone .