You are here

function og_feeds_parser_sources_alter in Feeds 6

Same name and namespace in other branches
  1. 7 mappers/og.inc \og_feeds_parser_sources_alter()

Implementation of hook_feeds_parser_sources_alter().

File

mappers/og.inc, line 11
On behalf implementation of mapping hooks for Organic Groups module.

Code

function og_feeds_parser_sources_alter(&$sources, $content_type) {
  if (!empty($content_type)) {
    $sources['parent:og_groups'] = array(
      'name' => t('Feed node: Organic group(s)'),
      'description' => t('One or more organic groups that the feed node is part of or the organic group that the feed node represents.'),
      'callback' => 'og_feeds_get_source',
    );
  }
}