You are here

function pmteam_update_7100 in Drupal PM (Project Management) 7

Same name and namespace in other branches
  1. 8 pmteam/pmteam.install \pmteam_update_7100()
  2. 7.3 pmteam/pmteam.install \pmteam_update_7100()
  3. 7.2 pmteam/pmteam.install \pmteam_update_7100()

Adds Drupal 7 style body field to Project Management Team nodes

File

pmteam/pmteam.install, line 90
Install, uninstall and update functions for Project Management Team

Code

function pmteam_update_7100() {

  // Uncache node types
  node_types_rebuild();

  // Fetch a list of current node types and add a body field to Project Management Team
  $types = node_type_get_types();
  node_add_body_field($types['pmteam'], 'Description');
}