You are here

function comment_migrate_fields_comment in Migrate 6

Implementation of hook_migrate_fields_comment().

File

modules/comment.migrate.inc, line 19
Implementation of comment destination handling

Code

function comment_migrate_fields_comment($type) {
  $fields = array(
    'cid' => t('Comment: Existing comment ID'),
    'subject' => t('Comment: Title'),
    'comment' => t('Comment: Body'),
    'timestamp' => t('Comment: Post date'),
    'nodesourceid' => t('Comment: Node by source id'),
    'nid' => t('Comment: Node by Drupal nid'),
    'name' => t('Comment: Author by name'),
    'usersourceid' => t('Comment: Author by source id'),
    'uid' => t('Comment: Author by Drupal uid'),
    'commentsourceid' => t('Comment: Parent by source id'),
    'pid' => t('Comment: Parent by Drupal cid'),
    'homepage' => t("Comment: Author's website"),
    'mail' => t("Comment: Author's email"),
    'hostname' => t("Comment: Author's hostname"),
    'status' => t('Comment: Status'),
  );
  return $fields;
}