You are here

function _gdpr_dump_sql_get_table_selection_options in General Data Protection Regulation 7

Same name and namespace in other branches
  1. 8 modules/gdpr_dump/gdpr_dump.drush.inc \_gdpr_dump_sql_get_table_selection_options()

Helper function.

Mirrored from Drush.

Return value

array The table selection options.

See also

\drush_sql_get_table_selection_options()

1 call to _gdpr_dump_sql_get_table_selection_options()
gdpr_dump_drush_command in modules/gdpr_dump/gdpr_dump.drush.inc
Implements hook_drush_command().

File

modules/gdpr_dump/gdpr_dump.drush.inc, line 79
This file contains the GDPR database dump command.

Code

function _gdpr_dump_sql_get_table_selection_options() {
  return [
    'skip-tables-key' => 'A key in the $skip_tables array. @see example.drushrc.php. Optional.',
    'structure-tables-key' => 'A key in the $structure_tables array. @see example.drushrc.php. Optional.',
    'tables-key' => 'A key in the $tables array. Optional.',
    'skip-tables-list' => 'A comma-separated list of tables to exclude completely. Optional.',
    'structure-tables-list' => 'A comma-separated list of tables to include for structure, but not data. Optional.',
    'tables-list' => 'A comma-separated list of tables to transfer. Optional.',
  ];
}