sammarks / ablecore

A library for Drupal developers.
MIT License
5 stars 4 forks source link

Add Nodequeue helper class. #11

Open sammarks opened 10 years ago

sammarks commented 10 years ago

Possible helper functions:

Each of those functions returns a NodequeueResult object, which is an ArrayObject. The query is built, when the user calls nodes() or nids(), and then only when they request an item from the array is the query actually executed.

This allows for filtering functions like withSubqueueName($subqueue_name) to filter the results and extend the query.

sammarks commented 9 years ago

Make this work for entity queues instead of nodequeues.