taxonomy_manager.install in Taxonomy Manager 8
Same filename and directory in other branches
Install, update and uninstall functions for the Taxonomy Manager.
File
taxonomy_manager.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the Taxonomy Manager.
*/
/**
* Implements hook_install().
*/
function taxonomy_manager_install() {
\Drupal::messenger()
->addMessage(t("Taxonomy manager module has been enabled successfully."));
}
/**
* Implements hook_uninstall().
*/
function taxonomy_manager_uninstall() {
\Drupal::configFactory()
->getEditable('taxonomy_manager.settings')
->delete();
\Drupal::messenger()
->addMessage(t("Taxonomy manager module has been uninstalled successfully."));
}
Functions
Name | Description |
---|---|
taxonomy_manager_install | Implements hook_install(). |
taxonomy_manager_uninstall | Implements hook_uninstall(). |