This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Eoler
gk31098 said: Could someone please tell me how to parse twig from string in plugin?
Something like this:
$vars = [ 'var1' => 'val1', ... 'varN' => 'valN'];
return \Twig::parse($strTwigPart, $vars);
1-3 of 3