$type->title_label, '#old' => array($old_node->title), '#new' => array($new_node->title), '#weight' => -5, '#format' => array( 'show_header' => false, ) ); if ($type->has_body) { $result['body'] = array( '#name' => $type->body_label, '#old' => explode("\n", $old_node->body), '#new' => explode("\n", $new_node->body), ); } return $result; }