Needs work
Project:
Entityqueue
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 May 2015 at 19:52 UTC
Updated:
29 Jul 2015 at 07:05 UTC
Jump to comment: Most recent, Most recent file
Create a EntityQueueFieldItemList that extends Drupal\Core\Field\EntityReferenceFieldItemList
> we keep using an entity reference field for referencing entities from a subqueue, but with a twist: we define it as a computed field, which means we will provide a special item list class that extends Drupal\Core\Field\EntityReferenceFieldItemList and which will allow us to take over the loading of referenced entities (e.g. we can have a dedicated method on our custom list class that provides the "give me the first 10 items in the queue" functionality)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | create_a-2489506-1.patch | 606 bytes | gnuget |
| #1 | entitqueue_list.png | 33.94 KB | gnuget |
Comments
Comment #1
gnugetI'm not sure how to complete this ticket but this is my first try.
It's only the empty class and Drupal can detect it:

I don't know what else do, I will leave it as needs works but if someone can point me in the right direction or what is the next step on this I will be happy to continue working on this. :-)
Comment #2
amateescu commentedYou can see more info about the purpose of this field item list class in this comment #2232917-7: Drupal 8 Version of Entityqueue and #11 in the same issue :)