You are here

function hook_advancedqueue_post_execute in Advanced Queue 7

React to the end of a queue item processing.

Parameters

string $queue_name: Can be used to look up $queue_info and $queue as necessary.

stdClass|Entity $item: An advancedqueue_item entity, after execution but before status handling has occurred.

File

./advancedqueue.api.php, line 85
Hooks provided by the Advanced queue module.

Code

function hook_advancedqueue_post_execute($queue_name, $item) {

  // Make sure our items always succeed!
  $item->status = ADVANCEDQUEUE_STATUS_SUCCESS;
}