search404.install in Search 404 5
Same filename and directory in other branches
File
search404.installView source
<?php
/*
* @file
* search404 Module install file
*/
/**
* Setup Search 404 by changing Drupal's 404-page to search404.
*/
function search404_install() {
variable_set('site_404', 'search404');
}
function search404_uninstall() {
if (variable_get('site_404', '') == 'search404') {
variable_del('site_404');
}
variable_del('search404_first');
variable_del('search404_jump');
variable_del('search404_use_or');
variable_del('search404_ignore');
variable_del('search404_ignore_query');
variable_del('search404_ignore_extensions');
variable_del('search404_use_search_engine');
}
Functions
Name | Description |
---|---|
search404_install | Setup Search 404 by changing Drupal's 404-page to search404. |
search404_uninstall |