function db_drop_table

8.x database.inc db_drop_table($table)

Drops a table.

Parameters

$table: The table to be dropped.

Related topics

11 calls to db_drop_table()
drupal_uninstall_schema in drupal/core/includes/schema.inc
Removes all tables defined in a module's hook_schema().
hook_field_storage_purge_field in drupal/core/modules/field/field.api.php
Remove field storage information when a field record is purged.
hook_field_storage_update_field in drupal/core/modules/field/field.api.php
Update the storage information for a field.
locale_update_8015 in drupal/core/modules/locale/locale.install
Build a new {locale_file} table.
shortcut_update_8001 in drupal/core/modules/shortcut/shortcut.install
Drop the {shortcut_set} table.

... See full list

File

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

Code

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