Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Dec 2013 at 03:09 UTC
Updated:
29 Jul 2014 at 23:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
star-szrAdding a commit message to the issue summary so the folks who already worked on #1898480: [meta] form.inc - Convert theme_ functions to Twig and in the Twig sandbox get credit.
Comment #2
joelpittetSplit from form.inc twig conversion.
Comment #4
rteijeiro commentedFixed following issues:
Missing semicolon.
Removed extra comma.
Removed extra comma.
Removed extra comma.
Comment #5
rteijeiro commentedLet see what says the testbot
Comment #8
joelpittet@rteijeiro thank you for the patch, that looks much better... I must have had my fingers on the wrong keys or something.
Comment #9
joelpittetFixing whitespace in tests.
Comment #10
joelpittetComment #11
jlbellido9: 2152203-8-theme_container.patch queued for re-testing.
Comment #12
internetdevels commentedFixed comments standards.
Comment #13
star-szrThose changes are really out of scope here, almost doubled the patch size. Adding unrelated changes like that makes patches harder to review and harder to reroll. I know it feels good to clean things up, but please create a separate issue (with a priority of minor) to correct coding standards issues :)
Comment #14
joelpittet@InternetDevels Could you make a Document cleanup followup patch with the tags: Documentation and Quick Fix? For the interdiff changes?
Comment #15
star-szrComment #16
star-szrCase in point: #12 no longer applies but #9 still does. @InternetDevels it would be great if you could create the small follow-up issue if you don't mind :)
Comment #17
joelpittetUsing number #9 but with that extra space removed.
Reviewed the markup in /admin/structure/views/view/content which seemed to use it a lot (25 times).
Attached is the markup from that page before and after the patch with twig debug turned on. As well as a diff screenshot.
Comment #18
joelpittetScenario:
http://www.lionsad.de/xhprof-kit/xhprof/xhprof_html/?run1=530ad1a439784&...
http://www.lionsad.de/xhprof-kit/xhprof/xhprof_html/?run1=530ad1a439784&...
Comment #19
star-szrThanks @joelpittet for that big push forward!
I think we should keep the "Used for grouped form items…" docs here. Tagging Novice to add those docs back and upload a new patch and interdiff.
Otherwise this is looking very good, profiling included!
Comment #20
star-szrhttps://drupal.org/node/1354#themepreprocess are the documentation standards for preprocess functions.
Comment #21
joelpittetHow about we move that to the twig template like so?
Comment #22
star-szrYep that sounds like a better idea to me, thanks!
Comment #24
joelpittetWhoa ghost in the machine much. Back to RTBC!
Comment #25
joelpittet21: 2152203-theme_container-21.patch queued for re-testing.
Comment #28
joelpittetOh some more tests needed whitespace help.
Comment #29
webchickCommitted and pushed to 8.x. Thanks!