Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2011 at 07:27 UTC
Updated:
20 Mar 2020 at 16:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aron novakSeems to be RTBC, but what about adding basic doc in the top?
Comment #2
David_Rothstein commentedLooks good to me too, but a minor nit: "id" should be capitalized in the docs. Fixed in the attached patch.
Comment #3
dries commentedBack from vacation. Still catching up on e-mail but getting my legs warmed up with some simple patches. Committed to 8.x.
I didn't commit it to 7.x though as it is a small API change. Up to webchick to decide.
Comment #4
dries commentedComment #5
sunWhy do we suddenly introduce a new pattern for save functions here?
Our existing pattern is to take &$edit by reference and assign the ID to the designated key.
Comment #6
ParisLiakos commentedno more aggregator_save_feed in d8, so moving back to d7
Comment #7
larowlanSo putting & in-front of $edit argument should be enough here.
Will look at this on Monday.
Comment #8
larowlanThis passes $edit by reference to aggregator_save_feed so we get the fid back.
Adds a test to verify.
Comment #10
ey commentedOne year, no advance. Proposal of @webchick was ok and passed the test. I don't understand why there must always be someone against a very basic one-liner solution and such a very simple patch must wait for more than 3 damned years to be commited!
I've rerolled @David_Rothstein's patch. Please review and commit.