1 database.inc db_drop_table($table)

Drops a table.

Parameters

$table: The table to be dropped.

Related topics

File

core/includes/database/database.inc, line 2937
Core systems for the database layer.

Code

function db_drop_table($table) {
  return Database::getConnection()->schema()->dropTable($table);
}