From 44138ed0f56d9b803d952872abb491474697c2f4 Mon Sep 17 00:00:00 2001 From: astrocling Date: Fri, 29 Aug 2014 09:42:18 -0400 Subject: [PATCH] Added Twig documentation to theme.api.php --- core/modules/system/theme.api.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index fabde88..089334f 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -18,6 +18,19 @@ * @link theme_render Theme system and Render API topic @endlink for more * information about render arrays and rendering. * + * @section sec_twig_theme Twig Templating Engine + * Drupal 8 utilizes the templating engine Twig. Twig offers developers a fast, + * secure, and flexible method for building templates for Drupal 8 sites. Twig + * also offers substantial usability improvements over PHPTemplate, and does + * not require front-end developers to know PHP to build and manipulate Drupal + * 8 themes. + * + * For further information on theming in Drupal 8 see + * https://www.drupal.org/theme-guide/8 + * + * For further Twig documentation see + * http://twig.sensiolabs.org/doc/templates.html + * * @section sec_theme_hooks Theme Hooks * The theme system is invoked in drupal_render() by calling the internal * _theme() function, which operates on the concept of "theme hooks". Theme -- 1.8.5.2 (Apple Git-48)