shield.install in Shield 6
Same filename and directory in other branches
Installation file for shield module
File
shield.installView source
<?php
/**
* @file
* Installation file for shield module
*/
/**
* Implementation of hook_install().
*/
function shield_install() {
variable_set('shield_state', 1);
variable_set('shield_allow_cli', 1);
}
/**
* Implementation of hook_uninstall().
*/
function shield_uninstall() {
variable_del('shield_state');
variable_del('shield_allow_cli');
variable_del('shield_user');
variable_del('shield_pass');
variable_del('shield_print');
}
Functions
Name | Description |
---|---|
shield_install | Implementation of hook_install(). |
shield_uninstall | Implementation of hook_uninstall(). |