function twig_extension
twig_extension()
Implements hook_extension().
File
- core/themes/engines/twig/twig.engine, line 24
- Handles integration of Twig templates with the Drupal theme system.
Code
function twig_extension() { return '.html.twig'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!themes!engines!twig!twig.engine/function/twig_extension/8.1.x