files)) { foreach($old_node->files as $file) { $old_files[] = $file->filename; } } $new_files = array(); if (isset($new_node->files)) { foreach($new_node->files as $file) { $new_files[] = $file->filename; } } $result[] = array( 'name' => t('Attachements'), 'old' => $old_files, 'new' => $new_files, 'format' => array( 'show_header' => false, ) ); return $result; }