taxonomy_manager.install in Taxonomy Manager 7
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_uninstall().
*/
function taxonomy_manager_uninstall() {
variable_del('taxonomy_manager_pager_tree_page_size');
}
/**
* Implements hook_update_N().
* Resets 'taxonomy_override_selector' variable.
*/
function taxonomy_manager_update_7001() {
// remove parent selector in core taxonomy term edit pages
variable_set('taxonomy_override_selector', FALSE);
return t('Successfully updated Taxonomy Manager settings.');
}
/**
* Remove merge_redirect variable.
*/
function taxonomy_manager_update_7002() {
variable_del('taxonomy_manager_disable_merge_redirect');
}
Functions
Name | Description |
---|---|
taxonomy_manager_uninstall | Implements hook_uninstall(). |
taxonomy_manager_update_7001 | Implements hook_update_N(). Resets 'taxonomy_override_selector' variable. |
taxonomy_manager_update_7002 | Remove merge_redirect variable. |