You are here

public function FeedsOPMLParser::getMappingSources in Feeds 8.2

Same name and namespace in other branches
  1. 6 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()
  2. 7.2 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()
  3. 7 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()

Return mapping sources.

File

lib/Drupal/feeds/Plugin/feeds/parser/FeedsOPMLParser.php, line 27
OPML Parser plugin.

Class

FeedsOPMLParser
Feeds parser plugin that parses OPML feeds.

Code

public function getMappingSources() {
  return array(
    'title' => array(
      'name' => t('Feed title'),
      'description' => t('Title of the feed.'),
    ),
    'xmlurl' => array(
      'name' => t('Feed URL'),
      'description' => t('URL of the feed.'),
    ),
  ) + parent::getMappingSources();
}