public function GdprSqlDump::dump in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_dump/src/Service/GdprSqlDump.php \Drupal\gdpr_dump\Service\GdprSqlDump::dump()
- 8 modules/gdpr_dump/src/Service/GdprSqlDump.php \Drupal\gdpr_dump\Service\GdprSqlDump::dump()
Dump command.
Parameters
array $options: Options for the command.
Return value
bool The result of the dump.
Throws
\Exception
File
- modules/
gdpr_dump/ src/ Service/ GdprSqlDump.php, line 116
Class
- GdprSqlDump
- Class GdprSqlDump.
Namespace
Drupal\gdpr_dump\ServiceCode
public function dump(array $options) {
$this->sql = $this
->getInstance($options);
$this
->prepare();
$result = $this->sql
->dump();
$this
->cleanup();
return $result;
}