When twigify finishes running, display feedback to user describing which tpl.php had sections that were not able to be automatically converted and need manual conversion attention.

Comments

elephant.jim’s picture

Sounds ilke a good idea. Would you like to see a list of files in the drush output that contain content the Twigifier couldn't understand?

You can always search your theme's templates directory for "{# PHP:" twig comments. They contain code the twigifier couldn't understand. We still need to write some documentation.

But a fair warning: you should always be reviewing the output. There are differences in theming between D7 and D8 that take much more intelligent reasoning to convert (much more intelligent than our simple translator).

forestmars’s picture

Status: Active » Postponed

This is part of the Twigify roadmap.

Also, we need to be clear on the difference between *files* Twigify can't understand, and *code blocks* the current version doesn't convert. Code blocks that don't match a current Twigify rule are wrapped in Twig comments. We'll be adding an audit report that tells you at least how many of those Twigify found, as well as any additional relevant information.

joelpittet’s picture

Version: » 7.x-1.x-dev
Issue summary: View changes
Status: Postponed » Active

What is this postponed on? Maybe needs more info?