You are here

public function ParserCSV::setSkipFirstLine in Feeds 8.2

Set this to TRUE if the parser should skip the first line of the CSV text, which might be desired if the first line contains the column names. By default, this is set to FALSE and the first line is not skipped.

File

lib/Drupal/feeds/ParserCSV.php, line 54
Contains CSV Parser.

Class

ParserCSV
Functionality to parse CSV files into a two dimensional array.

Namespace

Drupal\feeds

Code

public function setSkipFirstLine($skipFirstLine) {
  $this->skipFirstLine = $skipFirstLine;
}