taxonomy_container.install in Taxonomy container 6
Installation file for Taxonomy container module.
File
taxonomy_container.installView 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);
}
Functions
Name | Description |
---|---|
taxonomy_container_disable | Implements hook_uninstall(). |
taxonomy_container_enable | Implements hook_enable(). |
taxonomy_container_uninstall | Implements hook_uninstall(). |