You are here

function casetracker_basic_install in Case Tracker 7

Implements hook_install().

File

./casetracker_basic.install, line 11
Install, update and uninstall functions for the casetracker module.

Code

function casetracker_basic_install() {

  // Ensure the node type is available.
  node_types_rebuild();
  $types = node_type_get_types();
  node_add_body_field($types['casetracker_basic_project'], 'Description');
  node_add_body_field($types['casetracker_basic_case'], 'Description');
}