public function GdprSqlMysql::__construct in General Data Protection Regulation 8.2
Same name and namespace in other branches
- 8 modules/gdpr_dump/src/Sql/GdprSqlMysql.php \Drupal\gdpr_dump\Sql\GdprSqlMysql::__construct()
- 3.0.x modules/gdpr_dump/src/Sql/GdprSqlMysql.php \Drupal\gdpr_dump\Sql\GdprSqlMysql::__construct()
File
- modules/
gdpr_dump/ src/ Sql/ GdprSqlMysql.php, line 50
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'));
}