lang_dropdown_hideout.install in Language Switcher Dropdown 7.2
Install, update, and uninstall functions for the LSD hideout module.
File
lang_dropdown_hideout/lang_dropdown_hideout.installView source
<?php
/**
* @file
* Install, update, and uninstall functions for the LSD hideout module.
*/
/**
* Implements hook_install().
*/
function lang_dropdown_hideout_install() {
drupal_set_message(st("<b>Language switcher dropdown hideout</b> is installed successfully."));
}
/**
* Implements hook_uninstall().
*/
function lang_dropdown_hideout_uninstall() {
variable_del('lang_dropdown_hideout');
variable_del('lang_dropdown_hideout_' . LANGUAGE_TYPE_INTERFACE);
variable_del('lang_dropdown_hideout_' . LANGUAGE_TYPE_CONTENT);
variable_del('lang_dropdown_hideout_' . LANGUAGE_TYPE_URL);
}
Functions
Name![]() |
Description |
---|---|
lang_dropdown_hideout_install | Implements hook_install(). |
lang_dropdown_hideout_uninstall | Implements hook_uninstall(). |