You are here

taxonomy_manager.install in Taxonomy Manager 8

Install, update and uninstall functions for the Taxonomy Manager.

File

taxonomy_manager.install
View 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