You are here

public function CommerceKickstartSlideshow::csvcolumns in Commerce Kickstart 7.2

Returns CSV header mappings.

Return value

mixed Array of mappings.

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

File

modules/commerce_kickstart/commerce_kickstart_slideshow/commerce_kickstart_slideshow.migrate.inc, line 58
Migrations for commerce_kickstart_slideshow.

Class

CommerceKickstartSlideshow
Class CommerceKickstartSlideshow.

Code

public function csvcolumns() {

  // "Title", "Headline", "Tagline", "Link", "Images"
  $columns[0] = array(
    'title',
    'Title',
  );
  $columns[1] = array(
    'headline',
    'Headline',
  );
  $columns[2] = array(
    'tagline',
    'Tagline',
  );
  $columns[3] = array(
    'link',
    'Link',
  );
  $columns[4] = array(
    'images',
    'Images',
  );
  return $columns;
}