function ggroup_install in Group 7
Implements hook_install().
File
- modules/
ggroup/ ggroup.install, line 36 - Install, update and uninstall functions for the Subgroup project.
Code
function ggroup_install() {
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('name', 'ggroup')
->execute();
db_add_field('group_membership', 'parent_mid', _ggroup_parent_mid());
db_add_field('group_membership', 'heritage', _ggroup_heritage());
}