Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Feb 2015 at 16:01 UTC
Updated:
28 May 2015 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cleaver commentedPatch changes the callback in the batch definition to the actual function name:
IE: my_finished_callback -> batch_test_finished
Comment #2
cleaver commentedComment #3
jhodgdonThanks! But I think the better fix, to be more consistent with the rest of the example, would be to change the function name in the code below to my_finished_callback.
Comment #4
cleaver commentedMakes sense... the other functions start with "my_". I'm flipping it around.
Comment #7
jhodgdonThanks!
Comment #8
alexpottDocumentation is not frozen during beta. Committed 2bbeb8f and pushed to 8.0.x. Thanks!
Comment #10
David_Rothstein commentedLooks like this should be backported?
Comment #11
cleaver commentedAdded patch for 7.x
Comment #12
cleaver commentedComment #13
David_Rothstein commentedThanks, but isn't that replacing the wrong thing? I think we want it to replace "batch_test_finished", just like the Drupal 8 patch.
Comment #14
jacobsanfordThanks for review! Requested changes.
Comment #16
jhodgdonCommitted correct backport to D7. Thanks again everyone!