

Check the box next to 'Content queue' (found in the Entityqueue category).

Open the 'Advanced' section of your View.To add the relationship do the following: The magic of Entityqueues comes from the relationship that we add in Views: whatever happens with our queue can be matched in our View. Now, how do we get what we see in our View to match our queue? Add Relationship to Your View Click the 'Edit subqueue items' and drag them around.įor this tutorial, I've assumed you've already created a View of your content that you'd like to sort. Click 'Add to queue' to add it.Īfter adding it, we might want to rearrange the order of the items inside of that queue. Now, a new tab appears at the top of the page that says 'Entityqueue.' This will show a list of the queues this could be added to (it could be more than one). We click 'Edit items' and type in the title of the content in the autocomplete field, click 'Add item', and click 'Save.'Īnother way to add items to the queue is to go to the content and click 'Edit'. Content Type: Article (or whichever content you'll be sorting)Īfter saving our queue, we have two different ways of adding content to the queue.By default, there are no queues, so we create one:

Many people are now using the Paragraphs module to lay out their content, so in this video tutorial, I'll be showing you two different methods of custom sorting:Īfter installing the module, we have a new option in Admin > Structure called Entityqueues. This module does everything that Nodequeue lets us do in Drupal 7, and more.īut content creation in Drupal has changed since Drupal 7. But good news: there's a replacement called Entityqueue. Unfortunately, the Nodequeue module no longer exists for Drupal 8. In Drupal, we make lists of content using Views and out of the box, and we have the ability to sort this content in different ways, such as:īut what if I want a list of content sorted in whichever order that I want? This is what Nodequeue allowed me to do: let me sort my content arbitrarily. What this module allowed you to do was sort your content in whichever order you preferred. In a recent Drupal training, I got a question about a replacement for the Drupal 7 Nodequeue module for Drupal 8 and other future versions.
