function twig_theme
Same name in other branches
- 9 core/themes/engines/twig/twig.engine \twig_theme()
- 8.9.x core/themes/engines/twig/twig.engine \twig_theme()
- 11.x core/themes/engines/twig/twig.engine \twig_theme()
Implements hook_theme().
File
-
core/
themes/ engines/ twig/ twig.engine, line 15
Code
function twig_theme($existing, $type, $theme, $path) {
return drupal_find_theme_templates($existing, '.html.twig', $path);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.