Closed (duplicate)
Project:
Drupal core
Version:
8.9.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2010 at 20:18 UTC
Updated:
1 Jul 2021 at 23:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
casey commentedOops
Comment #2
dalinI would think this patch would offer only a minimal improvement. And since it means an API change, would have to wait till D8.
Comment #3
casey commentedI agree (I should stop posting issues as performance improvements, while I actually have other intentions).
Comment #4
casey commentedReroll
Comment #5
sunMarked #1013722: Drop #value_callback auto-suggestions, declare them explicitly like everyone else as 99% duplicate. The typo in the title did not yield this issue. :-/
Re-rolled my patch from over there, incorporated the additional proposal of skipping the function_exists(), and added an inline comment that explains why it is omitted.
Comment #6
sunI've also rewritten the issue summary.
Comment #6.0
sunUpdated issue summary.
Comment #7
sunThis looks ready to fly for me. Can't be tested, unless we have "expected fail (fatal error)" support in the testing system.
Comment #8
sun#5: drupal8.form-value-callback.5.patch queued for re-testing.
Comment #10
thomas.fleming commented#5: drupal8.form-value-callback.5.patch queued for re-testing.
Comment #12
thomas.fleming commentedrerolled
Comment #13
thomas.fleming commentedComment #14.0
(not verified) commentedUpdated issue summary.
Comment #17
joelpittetThis looks nice, I wonder how feasible it is for 8.x?
Comment #25
larowlanThis was made redundant by #2311393: Remove hook_element_info() and all references to it