public function Twig_Environment::initRuntime

Initializes the runtime environment.

1 call to Twig_Environment::initRuntime()
Twig_Environment::loadTemplate in drupal/core/vendor/twig/twig/lib/Twig/Environment.php
Loads a template by name.

File

drupal/core/vendor/twig/twig/lib/Twig/Environment.php, line 588

Class

Twig_Environment
Stores the Twig configuration.

Code

public function initRuntime() {
  $this->runtimeInitialized = true;
  foreach ($this
    ->getExtensions() as $extension) {
    $extension
      ->initRuntime($this);
  }
}