public function Twig_Function::needsEnvironment

Overrides Twig_FunctionInterface::needsEnvironment

File

drupal/core/vendor/twig/twig/lib/Twig/Function.php, line 41

Class

Twig_Function
Represents a template function.

Code

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