Closed (duplicate)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2012 at 03:14 UTC
Updated:
4 Sep 2014 at 19:31 UTC
Jump to comment: Most recent
Currently we have, hook_feeds_processor_targets_alter() but no hook_feeds_processor_targets(). This makes some sense if you figure that targets are initially defined by the Processor class, and additions are made. But, as seen in #661606: Support unique targets in mappers we need an actual alter function. One that can assume that all of the targets have been added, and can actually alter existing ones.
This can be added in a backwards compatible way, since hook_feeds_processor_targets_alter() will still behave as normal. Only core Feeds functions need to be changed to use the new api. AND the docs need to be updated. Other modules could update whenever they felt like it.
Comments
Comment #0.0
twistor commentedUpdated issue summary.
Comment #0.1
twistor commentedUpdated issue summary.
Comment #1
twistor commentedJust combining issues.
#2333029: Extend mapping API to allow for defaults and multiple callbacks.