We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134c729 commit 0f9737bCopy full SHA for 0f9737b
src/bootstrap.php
@@ -35,3 +35,6 @@ function dcg_create_application() {
35
// Twig versions.
36
$twig_environment_class = sprintf('DrupalCodeGenerator\Twig\Twig%dEnvironment', Twig_Environment::MAJOR_VERSION);
37
class_alias($twig_environment_class, 'DrupalCodeGenerator\Twig\TwigEnvironment');
38
+
39
+// Legacy TwigEnvironment class is still used in Drush.
40
+class_alias($twig_environment_class, 'DrupalCodeGenerator\TwigEnvironment');
0 commit comments