Devel has a page to debug php code. I'd like to debug twig template code in another page.

Sorry for my English!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tien.xuan.vo’s picture

Quick implementation

thehong’s picture

Status: Active » Needs work

We should use new style Controller instead of old style page callback.

'access arguments' => array('render twig template'),

We do not have this permission yet.

willzyx’s picture

Issue summary: View changes

@tien.xuan.vo thanks for contributing!
I think that this functionality can be very useful but we need a reroll before consider to add it to devel. The patch was sent long time ago and the devel and the drupal core have changed a lot :)