protected function GdprSqlDump::prepare 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::prepare()
- 3.0.x modules/gdpr_dump/src/Service/GdprSqlDump.php \Drupal\gdpr_dump\Service\GdprSqlDump::prepare()
Prepare the database for the dump.
Throws
\InvalidArgumentException
\Drupal\Core\Database\IntegrityConstraintViolationException
\Drupal\Core\Database\DatabaseExceptionWrapper
\Drupal\Core\Database\TransactionNoActiveException
\Drupal\Core\Database\TransactionCommitFailedException
\Exception
2 calls to GdprSqlDump::prepare()
- GdprSanitize::sanitize in modules/
gdpr_dump/ src/ Service/ GdprSanitize.php - Go through the data and sanitize it.
- GdprSqlDump::dump in modules/
gdpr_dump/ src/ Service/ GdprSqlDump.php - Dump command.
File
- modules/
gdpr_dump/ src/ Service/ GdprSqlDump.php, line 311
Class
- GdprSqlDump
- Class GdprSqlDump.
Namespace
Drupal\gdpr_dump\ServiceCode
protected function prepare() {
$this
->cleanup();
$this
->buildTablesToSkip();
$this
->createTableClones();
$this
->sanitizeData();
}