function privatemsg_migrate_fields_privatemsg in Migrate Extras 6
Implementation of hook_migrate_fields().
File
- ./
privatemsg.migrate.inc, line 20 - Integrates privatemsg module with the migrate module
Code
function privatemsg_migrate_fields_privatemsg($type) {
$fields = array(
// 'mid' => t('Message ID'), //this is to be set on the fly, don't need
'author' => t('Author UID'),
// sender of msg
'recipient' => t('Recipient UID '),
//recipient of msg
'subject' => t('Subject'),
// subject
'body' => t('Message Body'),
// the actual message
'format' => t('Message Input format ID'),
//the input format ID
'timestamp' => t('Timestamp'),
//timestamp
'is_new' => t('Is New?'),
// 1 or 0
'author_deleted' => t('Author Deleted?'),
// 1 or 0
'recipient_deleted' => t('Recipient Deleted?'),
// 1 or 0
'thread_id' => t('Thread Message ID'),
);
return $fields;
}