Drupal, Web Content Management
Content has become one of the most crucial factors impacting the customer experience. Brands are investing a lot of efforts to improve the content and build stories that sell. The emphasis on content production has never been stronger as it is today. Given the multitude of digital channels that the millennials are using for content...
Replacing the content in the custom block is often challenging. In Drupal 8, the best way to replace the content in the custom block programmatically is to use module_preprocess_block alter. We have created a custom block and now we want to replace the value of the placeholder programmatically. For eg. On http://example.com/, we have...
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...