Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2015 at 18:21 UTC
Updated:
14 May 2015 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
davidhernandezComment #2
mortendk commentedyes lets use same approach as we did with system - copy over all the templates, so we can begin the work on the css & classes
while we clean up core's templates at the same time ... if the test is green offcourse
Comment #4
mortendk commentedwhich its not huh?
Comment #5
davidhernandezThis is weird. On things like UserSwitchTest, the markup is coming out escaped.
Comment #6
davidhernandezThis seems to be related to the Views theme function conversions which have not all been completed yet.
Comment #9
mortendk commentedComment #11
davidhernandezInteresting; fewer fails than last time, but I think this still isn't going to work until #2348747: Convert theme_views_view_fields() to 100% Twig: remove the theme function gets in.
Comment #12
mortendk commentedhe he yeah probably - but im still gonna see if we can get em all fixed ;)
no guts no glory!
Comment #13
davidhernandezChecking to see if this works without the -field and -fields template.
If we can get green patch while leaving out the field templates, we should proceed without them. Core currently uses theme functions for fields and not the actual templates, for performance reasons. There are issues to work on it, but it may not be possible to make those conversions before release. In light of that, proceeding without the field templates doesn't hurt much. They do not contain CSS classes, so we do not need Stark vs. Classy version of them anyway.
Comment #14
mortendk commented+1 on this im to tired right now to review anything though ;)
Comment #15
star-szr+1 to this patch/approach for the stated reasons. However, the "Default theme implementation" lines need to be replaced, see #2452363: Classy's @file docblocks shouldn't say "Default theme implementation…".
You can just replace "Default theme implementation" with "Theme override" throughout.
Comment #16
davidhernandezI change the opening description to say "Theme override". I also removed the @ingroup which shouldn't be there either.
Comment #17
star-szrYes, thanks @davidhernandez I forgot about that pesky thing!
Updating the issue summary to explain why we are skipping the field templates.
Comment #18
alexpottThis is only moving front end templates. Committed f2ed4ce and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.