You are here

function content_migrate_new_revision in Content Construction Kit (CCK) 7.3

1 call to content_migrate_new_revision()
_content_migrate_batch_process_migrate_data in modules/content_migrate/includes/content_migrate.admin.inc
Batch operation callback to migrate data. Copy old table data to new field table.

File

modules/content_migrate/content_migrate.module, line 118
Code For D6 to D7 field data update.

Code

function content_migrate_new_revision($field) {
  if (empty($field['storage']['details'])) {
    return 'field_revision_' . $field['field_name'];
  }
  $data = $field['storage']['details']['sql'][FIELD_LOAD_REVISION];
  return key($data);
}