function twig_init

Includes .theme file from themes.

Parameters

\Drupal\Core\Extension\Extension $theme: The theme extension object.

File

core/themes/engines/twig/twig.engine, line 34

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.