You are here

public function Twig_Filter::needsEnvironment in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Filter.php \Twig_Filter::needsEnvironment()

Overrides Twig_FilterInterface::needsEnvironment

File

vendor/Twig/Filter.php, line 46

Class

Twig_Filter
Represents a template filter.

Code

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