inline_registration.install in Inline Registration 7
Same filename and directory in other branches
Install, update and uninstall functions for the inline_registration module.
File
inline_registration.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the inline_registration module.
*/
/**
* Implements hook_install().
*/
function hook_install() {
}
/**
* Implements hook_uninstall().
*/
function inline_registration_uninstall() {
// Delete variables.
foreach (node_type_get_types() as $type) {
variable_del('inline_registration_' . $type->type);
variable_del('inline_registration_weight_' . $type->type);
}
}
Functions
Name![]() |
Description |
---|---|
hook_install | Implements hook_install(). |
inline_registration_uninstall | Implements hook_uninstall(). |