Drupal 8 introduces a great templating system "Twig" which is originating from Symfony, a PHP framework. This has brought about a big change in the Drupal community. Unlike Drupal 7, developers can't use PHP functions directly now on. Twig is a template framework and is a direct replacement for PHP template. Twig extension...
How to change theme by Role in Drupal 8.x Even before I start, I would like to shed some light on what are Themes in Drupal. A theme is a bunch of files that defines the presentation layer. There are many contributed themes in Drupal project that can be found under ‘Themes’. For a programmer, there are 2 kinds of themes -...