You are here

public function FeedsCSVParser::getSourceElement in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsCSVParser.inc \FeedsCSVParser::getSourceElement()
  2. 7 plugins/FeedsCSVParser.inc \FeedsCSVParser::getSourceElement()

Override parent::getSourceElement() to use only lower keys.

Overrides FeedsParser::getSourceElement

File

plugins/FeedsCSVParser.inc, line 83

Class

FeedsCSVParser
Parses a given file as a CSV file.

Code

public function getSourceElement(FeedsImportBatch $batch, $element_key) {
  return parent::getSourceElement($batch, drupal_strtolower($element_key));
}