function pmnote_update_7103 in Drupal PM (Project Management) 7
Adds Drupal 7 style body field to Project Management Note nodes
File
- pmnote/
pmnote.install, line 96 - Functions for the PM Note module.
Code
function pmnote_update_7103() {
// Uncache node types
node_types_rebuild();
// Fetch list of current node types and add body field to Project Management Task
$types = node_type_get_types();
node_add_body_field($types['pmnote'], 'Description');
return 'Added D7 style body field to Project Management Note nodes';
}