disable_field.install in Disable Field 8.2
Same filename and directory in other branches
Install and uninstall functions for the Disable field module.
File
disable_field.installView source
<?php
/**
* @file
* Install and uninstall functions for the Disable field module.
*/
use Drupal\Core\Database\Database;
/**
* Deletes useless table disable_field.
*
* Now settings of the module will be stored in fields entities.
*/
function disable_field_update_8001() {
$schema = Database::getConnection()
->schema();
$schema
->dropTable('disable_field');
}
Functions
Name | Description |
---|---|
disable_field_update_8001 | Deletes useless table disable_field. |