public function Twig_ExtensionInterface::getGlobals in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/ExtensionInterface.php \Twig_ExtensionInterface::getGlobals()
Returns a list of global variables to add to the existing list.
Return value
array An array of global variables
Deprecated
since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead
1 method overrides Twig_ExtensionInterface::getGlobals()
- Twig_Extension::getGlobals in vendor/
Twig/ Extension.php
File
- vendor/
Twig/ ExtensionInterface.php, line 79
Class
- Twig_ExtensionInterface
- Interface implemented by extension classes.
Code
public function getGlobals();