You are here

public function ParserBase::getMappingSources in Feeds extensible parsers 8

Declare the possible mapping sources that this parser produces.

@todo Get rid of the false return here and create a configurable source solution for parsers. @todo Add type data here for automatic mappings. @todo Provide code example.

Return value

array|false An array of mapping sources, or false if the sources can be defined by typing a value in a text field.

Overrides ParserInterface::getMappingSources

File

src/Feeds/Parser/ParserBase.php, line 448

Class

ParserBase
The Feeds extensible parser.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

public function getMappingSources() {
  return $this->configuration['sources'];
}