function taxonomy_machine_name_uninstall in Taxonomy Machine Name 8
Same name and namespace in other branches
- 7 taxonomy_machine_name.install \taxonomy_machine_name_uninstall()
Implements hook_uninstall().
File
- ./
taxonomy_machine_name.install, line 96 - Install, update functions for the Taxonomy Machine Name module.
Code
function taxonomy_machine_name_uninstall() {
$db_connection = Database::getConnection();
$db_connection
->update('taxonomy_term_field_data')
->fields([
'machine_name' => NULL,
])
->execute();
}