Switching themes programmatically in Drupal 8
Sometimes you need to have a separate theme based on the user group or some scenario. At that time you need to switch your current active theme to another theme. UseCase For example consider this scenario, when the user wants to see the Drupal site in the lighter version means you have to switch your… (0 comment)

How to use Kint to traverse render array
From my previous post, you can enable the twig debug function in your Drupal site setup, but you should know about the renderable associative array structure. Then only you able to get the value, kint() function would be the best way to get the data in module and template file. When we use kint function:… (0 comment)

Twig Debug Enable local development settings 
Hope you already have a Drupal setup on your machine, so when you extend your functionality you may need to work on module and theme part. So you may think it overrides the existing rendering process. So for that, you must know how to override or customize the existing theme of the particular part of Drupal… (0 comment)