public function System::deleteItem

Implements Drupal\Core\Queue\QueueInterface::deleteItem().

Overrides QueueInterface::deleteItem

File

drupal/core/lib/Drupal/Core/Queue/System.php, line 106
Definition of Drupal\Core\Queue\System.

Class

System
Default queue implementation.

Namespace

Drupal\Core\Queue

Code

public function deleteItem($item) {
  db_delete('queue')
    ->condition('item_id', $item->item_id)
    ->execute();
}