You are here

public function DataManager::deleteBlock in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/DataManager.php \Drupal\forena\DataManager::deleteBlock()

Save a data block ...

Parameters

string $data_block:

File

src/DataManager.php, line 197
DataManager.inc Enter description here ... @author davidmetzler

Class

DataManager

Namespace

Drupal\forena

Code

public function deleteBlock($data_block) {
  list($provider) = explode('/', $data_block, 2);
  $this
    ->repository($provider)->fileSvc
    ->delete($data_block . '.sql');
}