You are here

public function FeedsCSVParser::getSourceElement in Feeds 8.2

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

Overrides FeedsParser::getSourceElement

File

lib/Drupal/feeds/Plugin/feeds/parser/FeedsCSVParser.php, line 116
Contains the FeedsCSVParser class.

Class

FeedsCSVParser
Defines a CSV feed parser.

Namespace

Drupal\feeds\Plugin\feeds\parser

Code

public function getSourceElement(FeedsSource $source, FeedsParserResult $result, $element_key) {
  return parent::getSourceElement($source, $result, drupal_strtolower($element_key));
}