You are here

function twig_init in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/themes/engines/twig/twig.engine \twig_init()

Implements hook_init().

File

core/themes/engines/twig/twig.engine, line 31
Handles integration of Twig templates with the Drupal theme system.

Code

function twig_init(Extension $theme) {
  $theme
    ->load();
}