Archive for the ‘Drupal’ Category

Drupal 8 Entity Validation and Typed Data Demonstration

Posted on: No Comments
In the previous article of this series we’ve started our dive into the Entity Validation and Typed Data APIs. We’ve seen how DataType plugins interact with data definitions and how various constraints can be added to the latter at multiple levels a...

Drupal 8 Entity Validation and Typed Data Explained

Posted on: No Comments
Data validation is a very important part of any application. Drupal 7 has a great Form API that can handle complex validation of submitted data, which can then be turned into entities. However, form level validation is problematic. For example, it beco...

Theming Views in Drupal 8 – Custom Style Plugins

Posted on: No Comments
Views is in Drupal 8 core. We all know that by now. Twig is the new templating engine in Drupal 8. This we also know. But do we know how to interact programmatically with the first in order to theme a View using the second? Aside from overriding View ...

Your First Drupal 8 Migration

Posted on: No Comments
Migrate is one of the most established modules in the Drupal ecosystem. So much so that with Drupal 8, a decision has been made to get some of its functionality ported and added to Drupal core. An important reason was that the traditional upgrade betwe...

Quick Tip: Set up Drupal 8 with Composer!

Posted on: No Comments
The recommended approach to getting started with Drupal 8 is now via Composer. An official project template has been created for this. We will create our project directly using the template, which is also available on Packagist. To create a new projec...

Tutorial on Using Drupal 8 Plugin Derivatives Effectively

Posted on: No Comments
In an earlier tutorial, we looked at the Drupal 8 plugin system and how to create our very own custom plugin type. We’ve seen that much of the functionality declared via _info hooks in Drupal 7 has been replaced by these plugins. Our use case was ver...

Drupal 8 Queue API – Powerful Manual and Cron Queueing

Posted on: No Comments
The Queue API in Drupal allows us to handle a number of tasks at a later stage. What this means is that we can place items into a queue which will run some time in the future and process each individual item at that point and at least once. Usually, t...

Drupal 8 Queue API – Powerful Manual and Cron Queueing

Posted on: No Comments
The Queue API in Drupal allows us to handle a number of tasks at a later stage. What this means is that we can place items into a queue which will run some time in the future and process each individual item at that point and at least once. Usually, t...

Custom Display Suite Fields in Drupal 8

Posted on: No Comments
Without question, Display Suite is one of the most popular modules in Drupal’s contributed modules history. It allows the creation of layouts, fields and exposes all sorts of other powerful tools we use to build the presentation layer of our Drupal s...

Building Custom cTools Plugins in Drupal 7

Posted on: No Comments
cTools is one of those critical Drupal 7 modules many others depend on. It provides a lot of APIs and functionality that makes life easier when developing modules. Views and Panels are just two examples of such powerhouses that depend on it. cTools ma...