You are here

protected function PanopolyNewsDemoNode::csvcolumns in Panopoly News 7

1 call to PanopolyNewsDemoNode::csvcolumns()
PanopolyNewsDemoNode::__construct in panopoly_news_demo/import/panopoly_news_demo.node.inc
General initialization of a Migration object.

File

panopoly_news_demo/import/panopoly_news_demo.node.inc, line 55
Migrations for Basic Nodes used in Panopoly News Demo.

Class

PanopolyNewsDemoNode
@file Migrations for Basic Nodes used in Panopoly News Demo.

Code

protected function csvcolumns() {
  $columns[0] = array(
    'title',
    'Title',
  );
  $columns[1] = array(
    'image',
    'Image',
  );
  $columns[2] = array(
    'image_title',
    'Image title',
  );
  $columns[3] = array(
    'image_alt',
    'Image alt',
  );
  $columns[4] = array(
    'categories',
    'Categories',
  );
  $columns[5] = array(
    'body',
    'Body',
  );
  $columns[6] = array(
    'created',
    'Created',
  );
  return $columns;
}