lang_dropdown.install in Language Switcher Dropdown 7
Same filename and directory in other branches
Install, update, and uninstall functions for the Language switcher dropdown module.
File
lang_dropdown.installView source
<?php
/**
* @file
* Install, update, and uninstall functions for the Language switcher dropdown module.
*/
/**
* Implementation of hook_install().
*/
function lang_dropdown_install() {
drupal_set_message(st("<b>Language switcher dropdown</b> is installed successfully.<br />Please refer to README.txt for help in configuration."));
}
/**
* Implementation of hook_uninstall().
*/
function lang_dropdown_uninstall() {
variable_del('lang_dropdown');
variable_del('lang_dropdown_' . LANGUAGE_TYPE_INTERFACE);
variable_del('lang_dropdown_' . LANGUAGE_TYPE_CONTENT);
}
Functions
Name![]() |
Description |
---|---|
lang_dropdown_install | Implementation of hook_install(). |
lang_dropdown_uninstall | Implementation of hook_uninstall(). |