/**
  * @param TextNode $node
  * @return array
  * @see convert()
  */
 protected function convertTextNode(TextNode $node)
 {
     return array('initialization' => '', 'execution' => '\'' . $this->escapeTextForUseInSingleQuotes($node->getText()) . '\'');
 }
Example #2
0
 /**
  * @param \TYPO3\Fluid\Core\Parser\SyntaxTree\TextNode $node
  * @return array
  * @see convert()
  */
 protected function convertTextNode(\TYPO3\Fluid\Core\Parser\SyntaxTree\TextNode $node)
 {
     return array('initialization' => '', 'execution' => '\'' . $this->escapeTextForUseInSingleQuotes($node->getText()) . '\'');
 }