You are here

function disable_field_update_8001 in Disable Field 8.2

Same name and namespace in other branches
  1. 8 disable_field.install \disable_field_update_8001()

Deletes useless table disable_field.

Now settings of the module will be stored in fields entities.

File

./disable_field.install, line 15
Install and uninstall functions for the Disable field module.

Code

function disable_field_update_8001() {
  $schema = Database::getConnection()
    ->schema();
  $schema
    ->dropTable('disable_field');
}