public function Twig_ExtensionInterface::initRuntime

Initializes the runtime environment.

This is where you can load some file that contains filter functions for instance.

Parameters

Twig_Environment $environment The current Twig_Environment instance:

1 method overrides Twig_ExtensionInterface::initRuntime()
Twig_Extension::initRuntime in drupal/core/vendor/twig/twig/lib/Twig/Extension.php
Initializes the runtime environment.

File

drupal/core/vendor/twig/twig/lib/Twig/ExtensionInterface.php, line 26

Class

Twig_ExtensionInterface
Interface implemented by extension classes.

Code

public function initRuntime(Twig_Environment $environment);