You are here

shield.install in Shield 6

Same filename and directory in other branches
  1. 8 shield.install
  2. 7 shield.install

Installation file for shield module

File

shield.install
View 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

Namesort descending Description
shield_install Implementation of hook_install().
shield_uninstall Implementation of hook_uninstall().