You are here

public function DatabaseSource::getTables in Backup and Migrate 8.4

Get an array of tables with some info. Each entry must have at least a 'name' key containing the table name.

Return value

array

Overrides DatabaseSourceInterface::getTables

File

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

Class

DatabaseSource
Class DatabaseSource.

Namespace

BackupMigrate\Core\Source

Code

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

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