function fieldgroup_install in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 5 fieldgroup.install \fieldgroup_install()
- 6.3 modules/fieldgroup/fieldgroup.install \fieldgroup_install()
- 6 modules/fieldgroup/fieldgroup.install \fieldgroup_install()
@file Implementation of hook_install().
File
- modules/
fieldgroup/ fieldgroup.install, line 7 - Implementation of hook_install().
Code
function fieldgroup_install() {
drupal_load('module', 'content');
db_query("UPDATE {system} SET weight = 9 WHERE name = 'fieldgroup'");
drupal_install_schema('fieldgroup');
content_notify('install', 'fieldgroup');
variable_set('fieldgroup_schema_version', 6000);
}