You are here

public function PurgePurgerBundleQueue::execute in Purge 7.2

Executes all queueditems with their handlers.

File

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

Class

PurgePurgerBundleQueue
Executes queued purges.

Code

public function execute($queue_items) {

  // Execute all queue items to the handlers.
  foreach ($queue_items as $queue_item) {
    $handler_name = $queue_item['handler'];
    $this->handler[$handler_name]
      ->execute($queue_item['purges'], $queue_item['handler_options']);
  }
}