You are here

public function Twig_SimpleFunction::needsContext in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/SimpleFunction.php \Twig_SimpleFunction::needsContext()

File

vendor/Twig/SimpleFunction.php, line 67

Class

Twig_SimpleFunction
Represents a template function.

Code

public function needsContext() {
  return $this->options['needs_context'];
}