You are here

function disqus_feeds_processor_targets_alter in Disqus 7

Implements hook_feeds_processor_targets_alter().

File

./disqus.module, line 1009
The Disqus Drupal module.

Code

function disqus_feeds_processor_targets_alter(&$targets, $entity_type, $bundle) {
  if ($entity_type == 'node') {
    $targets['disqus'] = array(
      'name' => t('Disqus status'),
      'description' => t('Disqus status.'),
      'callback' => 'disqus_feeds_set_target',
    );
  }
}