You are here

protected function PanopolyDemoNode::csvcolumns in Panopoly Demo 7

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

File

import/panopoly_demo.node.inc, line 48
Migrations for Basic Nodes.

Class

PanopolyDemoNode
@file Migrations for Basic Nodes.

Code

protected function csvcolumns() {
  $columns[0] = array(
    'title',
    'Title',
  );
  $columns[1] = array(
    'image',
    'Image',
  );
  $columns[2] = array(
    'body',
    'Body',
  );
  $columns[3] = array(
    'featured',
    'Featured',
  );
  $columns[4] = array(
    'created',
    'Created',
  );
  return $columns;
}