You are here

public function Twig_Extension::getGlobals in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/Extension.php \Twig_Extension::getGlobals()

Overrides Twig_ExtensionInterface::getGlobals

Deprecated

since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead

1 method overrides Twig_Extension::getGlobals()
Twig_Extension_Staging::getGlobals in vendor/Twig/Extension/Staging.php
Returns a list of global variables to add to the existing list.

File

vendor/Twig/Extension.php, line 75

Class

Twig_Extension

Code

public function getGlobals() {
  return array();
}