taxonomy) { foreach($old_node->taxonomy as $term) { $old_taxonomy[] = $term->name; } } if ($new_node->taxonomy) { foreach($new_node->taxonomy as $term) { $new_taxonomy[] = $term->name; } } $result[] = array( 'name' => t('Taxonomy'), 'old' => $old_taxonomy, 'new' => $new_taxonomy, ); return $result; }