How to get current language in Drupal 8

Here is the quick code snippet of how we can get the current language code, current language name and all enabled languages in Drupal 8 for multilanguage sites.

Right way to call theme functions in Drupal

Drupal core and contrib modules defines theme functions. These theme functions can be defined by themes as well. hook_theme() implementations is where all the information exists.

Step by step Drupal 8 installation guide for beginners

Drupal 8 is released and this is the best time to explore it. And for this, your first step is going to be the installation of Drupal 8. In this blog post, we will introduce you to step by step guide to basic Drupal 8 installation for beginners.

How to set up and use Apache Solr in php

Apache Solr is an open source search platform that can make search queries much faster. Here we will be learning to install and configure Apache Solr in Ubuntu.

Role Delay Module - Automatically assign role to user

There are situations where drupal you want to assign a particular role to a user after he/she has been registered for a period of time. This functionality might be needed for situations where you want a user to get permission to perform a particular task on your site.