You are here

public function PurgeQueueRunner::process in Purge 7.2

Processes the queue.

File

includes/purge.class.inc, line 457
Contains all class and interface definitions for Purge.

Class

PurgeQueueRunner
Use the Queue Runner Queue.

Code

public function process() {

  // Create a queuerunner task for each queue item.
  $task = array();
  $task['title'] = 'Purge Task';
  $task['data'] = $this->queue;
  queue_runner_add($task, 'purge_worker_callback');
}