You are here

function entityqueue_subqueue_save in Entityqueue 7

Saves a subqueue.

Parameters

EntitySubqueue $subqueue: The full EntitySubqueue object to save.

Return value

int SAVED_NEW or SAVED_UPDATED depending on the operation performed.

File

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

Code

function entityqueue_subqueue_save(EntitySubqueue $subqueue) {
  return entity_get_controller('entityqueue_subqueue')
    ->save($subqueue);
}