You are here

protected function DatabaseSource::_getTableNames in Backup and Migrate 8.4

Get the list of tables from this db.

Return value

array

1 call to DatabaseSource::_getTableNames()
DatabaseSource::getTableNames in lib/backup_migrate_core/src/Source/DatabaseSource.php
Get a list of tables in this source.

File

lib/backup_migrate_core/src/Source/DatabaseSource.php, line 103

Class

DatabaseSource
Class DatabaseSource.

Namespace

BackupMigrate\Core\Source

Code

protected function _getTableNames() {
  $out = [];
  foreach ($this
    ->_getTables() as $table) {
    $out[$table['name']] = $table['name'];
  }
  return $out;
}