function db_drop_table

8.x db_drop_table($table)

Drops a table.


$table: The table to be dropped.

Related topics

11 calls to db_drop_table()
drupal_uninstall_schema in drupal/core/includes/
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


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


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