public function Twig_ExtensionInterface::getGlobals in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/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/ twig/ lib/ Twig/ Extension.php
File
- vendor/
twig/ twig/ lib/ Twig/ ExtensionInterface.php, line 79
Class
- Twig_ExtensionInterface
- Interface implemented by extension classes.
Code
public function getGlobals();