reg_with_pic.install in Register with Picture 7
Reg with pic install file.
File
reg_with_pic.installView source
<?php
/**
* @file
* Reg with pic install file.
*/
/**
* Implements hook_install().
*/
function reg_with_pic_install() {
// Enable by default
variable_set('reg_with_pic_enabled', 1);
variable_set('reg_with_pic_weight', 0);
}
/**
* Implements hook_uninstall().
*/
function reg_with_pic_uninstall() {
// Clean up module vars
variable_del('reg_with_pic_enabled');
variable_del('reg_with_pic_weight');
}
Functions
Name![]() |
Description |
---|---|
reg_with_pic_install | Implements hook_install(). |
reg_with_pic_uninstall | Implements hook_uninstall(). |