You are here

public function CSVFileObject::setHeaderRowCount in Migrate Source CSV 8

Same name and namespace in other branches
  1. 8.2 src/CSVFileObject.php \Drupal\migrate_source_csv\CSVFileObject::setHeaderRowCount()

Number of header rows.

Parameters

int $header_row_count: Set the number of header rows, zero if no header row.

File

src/CSVFileObject.php, line 97
Contains \Drupal\migrate_source_csv\CSVFileObject.php.

Class

CSVFileObject
Defines a CSV file object.

Namespace

Drupal\migrate_source_csv

Code

public function setHeaderRowCount($header_row_count) {
  $this->headerRowCount = $header_row_count;
}