custom_search_i18n.install in Custom Search 7
Same filename and directory in other branches
Install, update, and uninstall functions for the custom search module.
File
modules/custom_search_i18n/custom_search_i18n.installView source
<?php
/**
* @file
* Install, update, and uninstall functions for the custom search module.
*/
/**
* Implements hook_install().
*/
function custom_search_i18n_install() {
db_update('system')
->fields(array(
'weight' => 110,
))
->condition('name', 'custom_search_i18n')
->execute();
}
/**
* Implements hook_uninstall().
*/
function custom_search_i18n_uninstall() {
db_delete('variable')
->condition('name', 'custom_search_i18n_%', 'LIKE')
->execute();
}
Functions
Name | Description |
---|---|
custom_search_i18n_install | Implements hook_install(). |
custom_search_i18n_uninstall | Implements hook_uninstall(). |