Skip to content

Commit 1ce4e8f

Browse files
authored
Disabling custom Twig Extensions for String Loader
1 parent 1934ca0 commit 1ce4e8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/PatternLab/PatternEngine/Twig/Loaders/StringLoader.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ public function __construct($options = array()) {
5656

5757
// customize Twig
5858
TwigUtil::setInstance($instance);
59-
TwigUtil::loadCustomExtensions();
59+
// Disabling custom Twig Extensions for String loader as it is only used internally by PL
60+
// TwigUtil::loadCustomExtensions();
61+
// @todo Determine if any custom things should be loaded for this
6062
TwigUtil::loadFilters();
6163
TwigUtil::loadFunctions();
6264
TwigUtil::loadTags();

0 commit comments

Comments
 (0)