You are here

public function DatabaseSource::getTableNames in Backup and Migrate 8.4

Get a list of tables in this source.

Overrides DatabaseSourceInterface::getTableNames

File

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

Class

DatabaseSource
Class DatabaseSource.

Namespace

BackupMigrate\Core\Source

Code

public function getTableNames() {
  try {
    return $this
      ->_getTableNames();
  } catch (\Exception $e) {

    // Todo: Log this exception.
    return [];
  }
}