public function FeedsOPMLParser::getMappingSources in Feeds 7.2
Same name and namespace in other branches
- 8.2 lib/Drupal/feeds/Plugin/feeds/parser/FeedsOPMLParser.php \FeedsOPMLParser::getMappingSources()
- 6 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()
- 7 plugins/FeedsOPMLParser.inc \FeedsOPMLParser::getMappingSources()
Return mapping sources.
Overrides FeedsParser::getMappingSources
File
- plugins/FeedsOPMLParser.inc, 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();
}