You are here

public function GdprDumpGdprSqlDump::dump in General Data Protection Regulation 7

Dump command.

File

modules/gdpr_dump/inc/GdprDumpGdprSqlDump.inc, line 61

Class

GdprDumpGdprSqlDump
Class GdprDumpGdprSqlDump.

Code

public function dump() {
  $sql = $this
    ->getInstance();
  $this
    ->prepare();
  $results = $sql
    ->dump(drush_get_option('result-file', FALSE));
  $this
    ->cleanup();
  return $results;
}