Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2014 at 18:30 UTC
Updated:
29 Jul 2014 at 23:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
joelpittetThrowing this patch up to see if testbot has issues but likely needs some review to see if this will cause other issues. Fairly confident it should be fine. Let's have a look shall we?
Also, may need tests of some sort but can't think of how/what but something to show the raw and macros are working as expected.
Comment #3
star-szr1: 2221535-TwigNodeVisitor-priority-1.patch queued for re-testing.
Comment #4
star-szrTest passes locally, testbot log says:
Sent for re-test.
Comment #5
star-szrHere we go, this should fail/pass appropriately. Left the interdiff off because the previous patch is one line :)
I stole the drupalSetContent() trick from the twig namespace tests. Makes me want to refactor some of our theme test coverage to remove page callbacks knowing that's possible!
Comment #6
star-szrFixed up a bit, will cancel the #5 patches.
Comment #7
star-szrForgot the interdiff. /me goes to bed
Comment #10
star-szrHowever might as well fix the docblock while we are here because this will conflict a bit with #2212309: Drupal\Core\Template and twig.engine docs, coding standards, and unused code cleanup anyway.
Comment #12
joelpittetAwesome, #6 says it all. I'm cool with the conflict reroll in #2212309.
Comment #13
dawehner<3
Comment #14
webchickGreat catch, and with tests too! :)
Committed and pushed to 8.x. Thanks!