protected function SpreadsheetIterator::getAbsoluteRowIndex in Migrate Spreadsheet 8
Same name and namespace in other branches
- 2.0.x src/SpreadsheetIterator.php \Drupal\migrate_spreadsheet\SpreadsheetIterator::getAbsoluteRowIndex()
Gets the absolute row index.
Return value
int The absolute row index.
3 calls to SpreadsheetIterator::getAbsoluteRowIndex()
File
- src/
SpreadsheetIterator.php, line 311
Class
- SpreadsheetIterator
- Provides a spreadsheet iterator.
Namespace
Drupal\migrate_spreadsheetCode
protected function getAbsoluteRowIndex() {
if (!isset($this->absoluteRow)) {
$row = Coordinate::coordinateFromString($this
->getOrigin())[1];
$this->absoluteRow = $row + $this->relativeRow;
}
return $this->absoluteRow;
}