You are here

function entityqueue_subqueue_create in Entityqueue 7

Constructs a new EntitySubqueue object, without saving it to the database.

Parameters

array $values: An array of values to set, keyed by property name.

Return value

EntitySubqueue A new EntitySubqueue object.

2 calls to entityqueue_subqueue_create()
entityqueue_export_ui::subqueue_add_page in plugins/ctools/export_ui/entityqueue_export_ui.class.php
Page callback; Displays the subqueue add form.
SimpleEntityQueueHandler::ensureSubqueue in plugins/entityqueue/handler/SimpleEntityQueueHandler.class.php
Makes sure that every simple queue has a subqueue.

File

./entityqueue.module, line 516
Allows users to collect entities in arbitrarily ordered lists.

Code

function entityqueue_subqueue_create($values = array()) {
  return entity_get_controller('entityqueue_subqueue')
    ->create($values);
}