Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
fb1a3853
Commit
fb1a3853
authored
14 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
#856408 c.ex: Pass all for hook_feeds_node_processor_targets_alter() by reference.
parent
6f4105c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.txt
+2
-0
2 additions, 0 deletions
CHANGELOG.txt
mappers/filefield.inc
+1
-1
1 addition, 1 deletion
mappers/filefield.inc
mappers/link.inc
+1
-1
1 addition, 1 deletion
mappers/link.inc
with
4 additions
and
2 deletions
CHANGELOG.txt
+
2
−
0
View file @
fb1a3853
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
mappers/filefield.inc
+
1
−
1
View file @
fb1a3853
...
@@ -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'
]))
{
...
...
This diff is collapsed.
Click to expand it.
mappers/link.inc
+
1
−
1
View file @
fb1a3853
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment