protected function canDeleteCollection()
    {
        return isset($this->data_collection['collection_id'])
            && $this->access('collection_delete')
            && $this->collection->canDelete($this->data_collection['collection_id']);
    }
protected function canDeleteCollection()
    {
        return isset($this->data_collection['collection_id'])
            && $this->access('collection_delete')
            && $this->collection->canDelete($this->data_collection['collection_id']);
    }
protected function canDeleteCollection ( ) { return isset ( $ this -> data_collection [ 'collection_id' ] ) && $ this -> access ( 'collection_delete' ) && $ this -> collection -> canDelete ( $ this -> data_collection [ 'collection_id' ] ) ; }
Whether the current collection can be deleted
@return bool
Whether the current collection can be deleted