Closed (fixed)
Project:
Display Suite
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 May 2012 at 23:21 UTC
Updated:
6 Jun 2012 at 10:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
duaelfrComment #2
swentel commentedMaybe, it's better to just put it in the $field variable as a new key, like $field['field_name'] = $key; That way, I can easily backport this as well and it will be available for every DS field type.
Comment #3
duaelfrUsing less parameters than asked by the function's prototype would not cause regressions but you are rthe boss (and you are right) so there is a new patch :)
Comment #4
swentel commentedHmm, you're right, extra paramaters wouldn't hurt at all, but this way all functions get the extra field name. Committed and pushed to both branches, welcome to the committers list! :)
Comment #5
duaelfrWhat a commit ! ;)
Thank you for your reactivity.
Comment #6.0
(not verified) commentedminor change