You are here

taxonomy_container.install in Taxonomy container 6

Installation file for Taxonomy container module.

File

taxonomy_container.install
View source
<?php

/**
 * @file
 *   Installation file for Taxonomy container module.
 */

/**
 * Implements hook_uninstall().
 */
function taxonomy_container_uninstall() {
  variable_del('taxonomy_container_vids');
}

/**
 * Implements hook_enable().
 */
function taxonomy_container_enable() {

  // taxonomy_form_alter checks for taxonomy_override_selector before loading the full
  // vocabulary, so contrib modules can intercept before hook_form_alter
  // and provide scalable alternatives.
  variable_set('taxonomy_override_selector', TRUE);
}

/**
 * Implements hook_uninstall().
 */
function taxonomy_container_disable() {
  variable_set('taxonomy_override_selector', FALSE);
}