DbDumpCommand::$excludeTables

Same name in other branches
  1. 9 core/lib/Drupal/Core/Command/DbDumpCommand.php \Drupal\Core\Command\DbDumpCommand::excludeTables
  2. 10 core/lib/Drupal/Core/Command/DbDumpCommand.php \Drupal\Core\Command\DbDumpCommand::excludeTables
  3. 11.x core/lib/Drupal/Core/Command/DbDumpCommand.php \Drupal\Core\Command\DbDumpCommand::excludeTables

An array of table patterns to exclude completely.

This excludes any lingering simpletest tables generated during test runs.

Type: array

File

core/lib/Drupal/Core/Command/DbDumpCommand.php, line 36

Class

DbDumpCommand
Provides a command to dump the current database to a script.

Namespace

Drupal\Core\Command

Code

protected $excludeTables = [
    'test[0-9]+',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.