You are here

public function SpreadsheetIteratorInterface::getColumns in Migrate Spreadsheet 2.0.x

Same name and namespace in other branches
  1. 8 src/SpreadsheetIteratorInterface.php \Drupal\migrate_spreadsheet\SpreadsheetIteratorInterface::getColumns()

Gets the list of columns.

Return value

string[] The list of columns.

Throws

\InvalidArgumentException If a column passed in 'columns' does not exist in the header.

See also

\Drupal\migrate_spreadsheet\SpreadsheetIteratorInterface::setColumns()

1 method overrides SpreadsheetIteratorInterface::getColumns()
SpreadsheetIterator::getColumns in src/SpreadsheetIterator.php
Gets the list of columns.

File

src/SpreadsheetIteratorInterface.php, line 79

Class

SpreadsheetIteratorInterface
Provides an interface for spreadsheet iterators.

Namespace

Drupal\migrate_spreadsheet

Code

public function getColumns() : array;