You are here

protected property DbDumpCommand::$excludeTables in Drupal 9

Same name and namespace in other branches
  1. 8 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

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]+',
];