You are here

public function CSVFileObject::setColumnNames in Migrate Source CSV 8

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

CSV column names.

Parameters

array $column_names: Set CSV column names.

File

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

Class

CSVFileObject
Defines a CSV file object.

Namespace

Drupal\migrate_source_csv

Code

public function setColumnNames(array $column_names) {
  $this->columnNames = $column_names;
}