Drupal 7 Tutorial: Creating a Custom Entityqueue Handler

Entityqueue uses Ctools plugins for what we call an EntityQueueHandler. In this post we are going to see how to create a custom EntityQueueHandler. We will be looking at the Entityqueue Scheduler module as an example.

What is an EntityQueueHandler?

When you create a new Entityqueue, there is an option to select which handler to use.

Drupal 7: When to use Entityqueue vs Draggable Views Jonathan Jordan Wed, 04/02/2014 - 20:52

This post was inspired by a question our VP Tony asked me while I was working on Entityqueue, he asked, "how is it different from Draggable Views?" At first the answer isn't as obvious, they both allow you to sort items in a list. Draggable Views supports any entity that you can create a View to display. There are a couple key, slight differences that make each one better than the other depending on the use-case and admin experience. In fact, I've used both modules on the same project, depending on the situation.

Drupal 7 Tutorial: Using Entityqueue with Views

Last time I gave a quick introduction on how to create and manage queues using Entityqueue. This time I'll show you how to use them with Views to display content sorted by their position in the queue.

First create your view like you normally would. The screenshots in this example, we are using a view of Content (aka Nodes), but this should be the same process for any entity type.

Ready for transformation?