Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 May 2013 at 06:51 UTC
Updated:
29 Jul 2014 at 22:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damiankloip commented.
Comment #2
aspilicious commentedWorks for me :)
Comment #3
tim.plunkettWe need this to finish #1982138: Clean out field_ui.admin.inc
Comment #4
yched commented+1 for this, of course.
But more generally, rather than keeping with one-off "this callback" and "oh, this one too" patches, it might be a good idea to check all remaining render and form callbacks and make sure they consistently accept callables ?
Comment #5
damiankloip commentedThat sounds good to me, let's get this in now so we can continue with our views and field patches though. If none else does first, I will create an issue in the morning.
Comment #6
tim.plunkettIt seems the only remaining one is #after_build, let's just finish this off right.
Comment #7
damiankloip commentedYeah, why not.
Comment #8
tim.plunkettBeautiful, thanks!
Comment #10
tim.plunkettApparently this will need to be call_user_func_array()? call_user_func() doesn't work with references
Comment #11
damiankloip commentedAh, that is good to know.
Comment #13
dawehnerJust in general: do we have to convert all of them to cufa?
Let's also change after_build, post_render
Comment #14
tim.plunkettI looked into it, those docs are wrong.
And this is what was needed for the references to work. cufa is exempt from the call time pass-by-reference rules.
Comment #15
damiankloip commentedYep, let's do that.
Comment #16
aspilicious commentedOk we should be good now. Docs and code look good.
Comment #17
alexpottCommitted 523d64a and pushed to 8.x. Thanks!