You are here

protected function GdprDumpGdprSqlDump::buildSkipTables in General Data Protection Regulation 7

Builds skipTables array.

1 call to GdprDumpGdprSqlDump::buildSkipTables()
GdprDumpGdprSqlDump::prepare in modules/gdpr_dump/inc/GdprDumpGdprSqlDump.inc
Prepare the database for the dump.

File

modules/gdpr_dump/inc/GdprDumpGdprSqlDump.inc, line 282

Class

GdprDumpGdprSqlDump
Class GdprDumpGdprSqlDump.

Code

protected function buildSkipTables() {

  // Get table expanded selection.
  $sql = $this
    ->getInstance();
  $table_selection = $sql
    ->get_expanded_table_selection();
  $skipTables = \array_merge($table_selection['skip'], $table_selection['structure']);
  $skipTables = \array_flip($skipTables);
  $skipTables = $skipTables + $this->emptyTables;
  $this->skipTables = $skipTables;
}