function rabbit_hole_install in Rabbit Hole 7
Same name and namespace in other branches
- 6 rabbit_hole.install \rabbit_hole_install()
Implements hook_install().
File
- ./
rabbit_hole.install, line 33 - Install, update and uninstall functions for Rabbit Hole.
Code
function rabbit_hole_install() {
// Add our fields to the {node} table.
$schema['node'] = array();
rabbit_hole_schema_alter($schema);
foreach ($schema['node']['fields'] as $name => $spec) {
db_add_field('node', $name, $spec);
}
}