protected function FeedsProcessor::getHookTargets in Feeds 7.2
Allows other modules to expose targets.
Parameters
array &$targets: The existing target array.
3 calls to FeedsProcessor::getHookTargets()
- FeedsNodeProcessor::getMappingTargets in plugins/
FeedsNodeProcessor.inc - Return available mapping targets.
- FeedsTermProcessor::getMappingTargets in plugins/
FeedsTermProcessor.inc - Return available mapping targets.
- FeedsUserProcessor::getMappingTargets in plugins/
FeedsUserProcessor.inc - Return available mapping targets.
File
- plugins/
FeedsProcessor.inc, line 1225 - Contains FeedsProcessor and related classes.
Class
- FeedsProcessor
- Abstract class, defines interface for processors.
Code
protected function getHookTargets(array &$targets) {
self::loadMappers();
$entity_type = $this
->entityType();
$bundle = $this
->bundle();
$targets += module_invoke_all('feeds_processor_targets', $entity_type, $bundle);
drupal_alter('feeds_processor_targets', $targets, $entity_type, $bundle);
}