You are here

public function FeedsOPMLParser::getMappingSources in Feeds 6

Same name and namespace in other branches
  1. 8.2 lib/Drupal/feeds/Plugin/feeds/parser/FeedsOPMLParser.php \FeedsOPMLParser::getMappingSources()
  2. 7.2 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()
  3. 7 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()

Return mapping sources.

Overrides FeedsParser::getMappingSources

File

plugins/FeedsOPMLParser.inc, line 26
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();
}