function taxonomy_manager_uninstall in Taxonomy Manager 8
Same name and namespace in other branches
- 6.2 taxonomy_manager.install \taxonomy_manager_uninstall()
- 6 taxonomy_manager.install \taxonomy_manager_uninstall()
- 7 taxonomy_manager.install \taxonomy_manager_uninstall()
- 2.0.x taxonomy_manager.install \taxonomy_manager_uninstall()
Implements hook_uninstall().
File
- ./
taxonomy_manager.install, line 18 - Install, update and uninstall functions for the Taxonomy Manager.
Code
function taxonomy_manager_uninstall() {
\Drupal::configFactory()
->getEditable('taxonomy_manager.settings')
->delete();
\Drupal::messenger()
->addMessage(t("Taxonomy manager module has been uninstalled successfully."));
}