You are here

function _feeds_feeds_processor_targets_alter in Feeds 7.2

Implements hook_feeds_processor_targets_alter().

See also

feeds_feeds_processor_targets()

feeds_feeds_processor_targets_alter()

Related topics

File

./feeds.module, line 949
Feeds - basic API functions and hook implementations.

Code

function _feeds_feeds_processor_targets_alter(array &$targets, $entity_type, $bundle) {

  // If hook_feeds_processor_targets() hasn't been called, for instance, by
  // older processors, invoke it ourself.
  if (!drupal_static('feeds_feeds_processor_targets', FALSE)) {
    $targets += module_invoke_all('feeds_processor_targets', $entity_type, $bundle);
  }
}