You are here

public function DatabaseSource::getTableNames in Backup and Migrate 5.0.x

Get a list of tables in this source.

Overrides DatabaseSourceInterface::getTableNames

File

src/Core/Source/DatabaseSource.php, line 71

Class

DatabaseSource
@package Drupal\backup_migrate\Core\Source

Namespace

Drupal\backup_migrate\Core\Source

Code

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

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