PHP Template

Understand why Twig is replacing PHP Template in Drupal

ByKarthik Kumar D Kon14th Aug 2021
A completely new template engine is introduced in Drupal. The templating system in all previous versions of Drupal is using theme_* functions and PHP-based *.tpl.php files. Now, this has been completely replaced in Drupal 8. Instead of using theme functions and theme template files, Drupal is now using the Twig templating system. Twig is a PHP-based compiled templating
Showing articles of label PHP Template. Show all articles
We Need Your Consent
By clicking “Accept Cookies”, you agree to the storing of cookies on your device to enhance your site navigation experience, analyze site usage, and assist in our efforts to serve you with personalized offers and communications.
I Accept Cookies