function backup_db_show_tables in Backup Database 8
Return list of all tables.
2 calls to backup_db_show_tables()
- BackupDatabaseCronForm::buildForm in src/
Form/ BackupDatabaseCronForm.php - Form constructor.
- BackupDatabaseTablesForm::buildForm in src/
Form/ BackupDatabaseTablesForm.php - Form constructor.
File
- ./
backup_db.module, line 52 - backup_db.module
Code
function backup_db_show_tables() {
$connection = \Drupal\Core\Database\Database::getConnection();
return $connection
->query('SHOW TABLES')
->fetchAll();
}