Create your own drupal 8 service class

If you're curoius on how to create your own service class in a drupal 8 module, check out the article (only in German), part of the blog series on Drupal 8 module development I wrote for

Drupal 8 module development basics

Although so much has changed in the way modules are being created in Drupal 8, compared to the 7th version, there are so many similarities. It's just another (more modern and appreciated) way of doing it.

This post should give a quick example on how to write the code to create your own custom actions for Drupals' Rules module. Writing your own plugins for rules (events, conditions or actions) can give you enormous benefits later, when you start to reuse them throughout the site or even port them on other Drupal sites.

For those who work with Drupal the Views-module is probably known as well as Drupal itself. For a good reason: it's simply unbelievable how many amazing things you can do with it, without having to write a single line of code. Views has most of the things you'll need for your queries already baked in and there is a pile of modules extending it, but as always in life there are cases where you need something special. So as an example on how to extend Views this article will show how to create you own custom filter.

In this post I want to give an example of how to use the power of ctools plugins to add additional styles options to your panels. This way you can have complete control over the wrappers of your panes and panels by retaining flexibility and allowing settings to be set in the Panels UI.

The idea is to show how to create a panels style plugin which would use an image field, attached to your content type or any entity, and show this image as background element of this entity, when displayed via panels.

Drupal 8 is comming... soon!

Recently I wrote an article for the blog of my employer about the hotsauce changes we are happy to expect from the new 8th version of the beloved CMS Drupal. It is available only in German for now.

Windows and Omega 4

Unlike on UNIX based systems, installing and configuring RVM on a Windows machine properly in order to be able to use the new possibilities in Drupal's Omega 4 theme could become a difficult task. But running that process through the cygwin environment makes it possible.

Sweet that you stopped by!

It has been a really long story, but anyway we're happy to present you the freshly redesigned precessionmedia site. And nice that you are actually reading this.