Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
ajax system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jun 2016 at 11:50 UTC
Updated:
20 Jul 2016 at 03:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
david_garcia commentedComment #3
izaaksom commentedStraightforward fix. Thanks!
Comment #4
fabianx commentedNice work, marking for commit.
Comment #5
fabianx commentedProven this works for PHP 4.3 - 7:
https://3v4l.org/smvcH
Comment #6
stefan.r commentedComment #7
David_Rothstein commentedSee comment at #2652814-8: Allow the use of callbacks for element value callbacks and batch API redirect callbacks which applies here too.
Comment #8
fabianx commentedis_callable is fine, but call_user_func_array() needs to be removed per #2652814: Allow the use of callbacks for element value callbacks and batch API redirect callbacks.
Comment #9
pashupathi nath gajawada commentedHi Fabian Franz,
Updated the patch as suggested in #8.
Thanks,
Comment #10
fabianx commentedTo RTBC, thanks for the patch
Comment #11
fabianx commentedLeaving for a moment for others to review, then will commit later, so marking for most-likely commit.
Comment #13
fabianx commentedCommitted and pushed to 7.x! Thanks!
Comment #14
David_Rothstein commentedI took a stab at a change record here, for this issue and #2760609: Allow the use of callbacks instead of global functions in parts of the Form API combined: https://www.drupal.org/node/2761169