You are here

public function Twig_Extension::getGlobals in Translation template extractor 6.3

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

Returns a list of global variables to add to the existing list.

Return value

array An array of global variables

Overrides Twig_ExtensionInterface::getGlobals

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 89

Class

Twig_Extension

Code

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