Most read

In some use cases you want to copy the configuration of a Drupal 8 website into another Drupal 8 website. For example when you are working on a multisite and you want to create a copy of an existing...
Creating a node with REST has never been this easy in Drupal 8, in this blog post I'll show you how to do it. The first thing you would need to do is enable all the required modules (/admin/modules)....
In this blog post you will learn how to add a theme field preprocess function in your theme. In this specific case we will add a class to every Term reference of the field_tags field. in your...
In this blog post you will learn why Acquia Dev Desktop is a must have when working on Drupal websites. It all began a few years ago when I started developing Drupal websites using MAMP . The free...
In this post I will explain how you can install a SSL certificate on your shared hosting using Let's Encrypt. By doing this we increase trust, integrity of data and even optimize your SEO. Install the...
In this blog post you will learn how to create internal and external links in Drupal 8. In Drupal 7 websites we used to create links by using the l() function but in Drupal 8 this changed. Internal...
It's very easy to register new users using REST in Drupal 8. This functionality was introduced in Drupal 8.3. Let's say you are building an app and you want to use Drupal as your back-end. The first...
Disabling the cache on a local Drupal 8 website is handy when developing. But on your live website you want the caching to stay enabled at all times. Syncing configuration in Drupal 8 is great but you...
Drupal 8 has a built-in class which allows to sort (multidimensional) arrays very easily. You can use this class like this: uasort($form['elements'], [ '\Drupal\Component\Utility\SortArray',...
If you used Acquia Dev Desktop before, you may have noticed that the vhost.conf file is generated automatically every time Acquia Dev starts up. This means the Apache settings are fixed. This makes it...
Drupal 8 provides a basic REST resource for every known entity in the system. For most use cases this is enough to get you going, but what if the default implementation doesn’t suffice your needs? To...
Drupal 8 uses some of the Symfony2 components. One of those components is the EventDispatcher . This component provides a system to register events. Afterwards other modules and plugins can execute...