public function GdprSqlMysql::__construct in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_dump/src/Sql/GdprSqlMysql.php \Drupal\gdpr_dump\Sql\GdprSqlMysql::__construct()
- 8 modules/gdpr_dump/src/Sql/GdprSqlMysql.php \Drupal\gdpr_dump\Sql\GdprSqlMysql::__construct()
File
- modules/
gdpr_dump/ src/ Sql/ GdprSqlMysql.php, line 49
Class
- GdprSqlMysql
- Class GdprSqlMysql.
Namespace
Drupal\gdpr_dump\SqlCode
public function __construct($dbSpec, $options) {
parent::__construct($dbSpec, $options);
$this->gdprDumpConfig = \Drupal::config(SettingsForm::GDPR_DUMP_CONF_KEY);
$this->tablesToAnonymize = $this->gdprDumpConfig
->get('mapping') ?? [];
$this->tablesToSkip = array_keys($this->gdprDumpConfig
->get('empty_tables') ?? []);
}