You are here

public function CommerceKickstartPages::csvcolumns in Commerce Kickstart 7.2

Returns CSV header mappings.

Return value

mixed Array of mappings.

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

File

modules/commerce_kickstart/commerce_kickstart_migrate/commerce_kickstart_migrate.migrate.inc, line 70
Contains base migration classes used by other Commerce Kickstart modules.

Class

CommerceKickstartPages
Class CommerceKickstartPages.

Code

public function csvcolumns() {

  // "nid", "Title", "Path", "Body"
  $columns[0] = array(
    'nid',
    'nid',
  );
  $columns[1] = array(
    'title',
    'Title',
  );
  $columns[2] = array(
    'path',
    'Path',
  );
  $columns[3] = array(
    'body',
    'Body',
  );
  return $columns;
}