Closed (outdated)
Project:
Entityqueue Scheduler
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2017 at 16:08 UTC
Updated:
6 Sep 2019 at 23:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wouters_f commentedAdded in a (very basic) kernel test
Which we don't seem to get working correctly...
Comment #3
pfrenssenIt looks like you cannot retrieve the value of the
field_eq_testfield because itsselectproperty is not set. Only thestartdateandenddateare set, but it is theselectproperty which is used to determine if the value is set.From
EntityqueueSchedulerFieldType:When an entity is saved, first its values are filtered by
FieldItemList::filterEmptyItems()which callsisEmpty()on all field items.So in order for the test to succeed you should either populate the
selectproperty, or change theisEmpty()method to check for thestartdateorenddate.Comment #4
wouters_f commentedSince we created this as a field and this will likely be hard to migrate from the drupal 7 version to a unexisting field you can find the port under https://www.drupal.org/project/eqsf
In this project Glen allows a field to be added to entities where you can put them in the queue (planned).
Comment #5
chris matthews commentedClosing as "outdated" as the Entityqueue Scheduler Field module appears to be the D8 heir to the D7 Entityqueue Scheduler module.