Skip to content
Snippets Groups Projects
Commit fb1a3853 authored by Alex Barth's avatar Alex Barth
Browse files

#856408 c.ex: Pass all for hook_feeds_node_processor_targets_alter() by reference.

parent 6f4105c1
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
Feeds 6.x 1.X XXXX Feeds 6.x 1.X XXXX
------------------ ------------------
- #856408 c.ex: Pass all $targets for hook_feeds_node_processor_targets_alter()
by reference.
- #853194 andrewlevine, alex_b: Mapping: don't reset all targets. - #853194 andrewlevine, alex_b: Mapping: don't reset all targets.
- #853144 alex_b: Consistent use of "replace" vs "update". - #853144 alex_b: Consistent use of "replace" vs "update".
- #850998 alex_b: Clean up file upload form. Note: If you supply file paths - #850998 alex_b: Clean up file upload form. Note: If you supply file paths
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
/** /**
* Implementation of hook_feeds_node_processor_targets_alter() * Implementation of hook_feeds_node_processor_targets_alter()
*/ */
function filefield_feeds_node_processor_targets_alter($targets, $content_type) { function filefield_feeds_node_processor_targets_alter(&$targets, $content_type) {
$info = content_types($content_type); $info = content_types($content_type);
$fields = array(); $fields = array();
if (isset($info['fields']) && count($info['fields'])) { if (isset($info['fields']) && count($info['fields'])) {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
/** /**
* Implementation of hook_feeds_node_processor_targets_alter(). * Implementation of hook_feeds_node_processor_targets_alter().
*/ */
function link_feeds_node_processor_targets_alter($targets, $content_type) { function link_feeds_node_processor_targets_alter(&$targets, $content_type) {
$info = content_types($content_type); $info = content_types($content_type);
$fields = array(); $fields = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment