You are here

public function CommerceKickstartCollection::csvcolumns in Commerce Kickstart 7.2

Maps CSV column headers.

Return value

array Array of mappings

1 call to CommerceKickstartCollection::csvcolumns()
CommerceKickstartCollection::__construct in modules/commerce_kickstart/commerce_kickstart_product/commerce_kickstart_product.migrate.inc
General initialization of a Migration object.

File

modules/commerce_kickstart/commerce_kickstart_product/commerce_kickstart_product.migrate.inc, line 731
Migrations for commerce_kickstart_product.

Class

CommerceKickstartCollection
Class CommerceKickstartCollection.

Code

public function csvcolumns() {

  // "Name", "Images"
  $columns[0] = array(
    'name',
    'Name',
  );
  $columns[1] = array(
    'images',
    'Images',
  );
  return $columns;
}