You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some sites want to compile Twig (and container) on staging and deploy to production with production being readonly PHP wise. We need a twig compiler for them.
This is the same functionality as drush twig-compile in Drush.
Adds a twig:compile command as mentioned in issue hechoendrupal#1525. Loads the registry for configured default and admin theme, then processes the theme hook through the theme manager service.
Adds a twig:compile command as mentioned in issue hechoendrupal#1525. Loads the registry for configured default and admin theme, then processes the theme hook through the theme manager service.
mglaman
added a commit
to mglaman/DrupalConsole
that referenced
this issue
Feb 10, 2016
Adds a twig:compile command as mentioned in issue hechoendrupal#1525. Loads the registry for configured default and admin theme, then processes the theme hook through the theme manager service.
Problem / Motivation
Some sites want to compile Twig (and container) on staging and deploy to production with production being readonly PHP wise. We need a twig compiler for them.
This is the same functionality as
drush twig-compile
in Drush.There is some plan on adding this functionality into core, however, this is been postpone. https://www.drupal.org/node/2308215
Solution
We need a command that compiles all twig templates.
The text was updated successfully, but these errors were encountered: