function db_drop_table

Drops a table.


$table: The table to be dropped.

Related topics

25 calls to db_drop_table()
BasicUpgradePath::testFailedUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.test
Test a failed upgrade, and verify that the failure is reported.
block_update_7006 in drupal/modules/block/block.install
Recreates cache_block table.
DatabaseTestCase::installTables in drupal/modules/simpletest/tests/database_test.test
Set up several tables needed by a certain test.
DrupalWebTestCase::tearDown in drupal/modules/simpletest/drupal_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
drupal_uninstall_schema in drupal/includes/
Removes all tables defined in a module's hook_schema().

... See full list


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


function db_drop_table($table) {
  return Database::getConnection()