public function GdprSqlDump::dump in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_dump/src/Service/GdprSqlDump.php \Drupal\gdpr_dump\Service\GdprSqlDump::dump()
- 3.0.x 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 117
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;
}