protected function FeedsJSONPathParser::getOwnMappings in Feeds JSONPath Parser 7
Gets the mappings that belong to this parser.
Return value
array An array of mappings keyed source => target.
1 call to FeedsJSONPathParser::getOwnMappings()
- FeedsJSONPathParser::parse in ./
FeedsJSONPathParser.inc - Implements FeedsParser::parse().
File
- ./
FeedsJSONPathParser.inc, line 419 - Contains FeedsJSONPathParser.
Class
- FeedsJSONPathParser
- Parses JSON using JSONPath.
Code
protected function getOwnMappings() {
$importer_config = feeds_importer($this->id)
->getConfig();
return $this
->filterMappings($importer_config['processor']['config']['mappings']);
}