function TwigSimpleCheckToStringNode::compile
Same name in other branches
- 10 core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php \Drupal\Core\Template\TwigSimpleCheckToStringNode::compile()
File
-
core/
lib/ Drupal/ Core/ Template/ TwigSimpleCheckToStringNode.php, line 27
Class
- TwigSimpleCheckToStringNode
- Defines a twig node for simplifying CheckToStringNode.
Namespace
Drupal\Core\TemplateCode
public function compile(Compiler $compiler) : void {
$expr = $this->getNode('expr');
$compiler->subcompile($expr);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.