You are here

queue_unique.module in Queue Unique 7.2

Same filename and directory in other branches
  1. 7 queue_unique.module

Module implementation file.

File

queue_unique.module
View source
<?php

/**
 * @file
 * Module implementation file.
 */

// This module only provides a class that you can hook to your queue.
// Set the variable:
// variable_get('queue_class_' . $queue_name, '\\Drupal\\queue_unique\\Queue\\SystemSetQueue');

/**
 * Implements hook_queue_class_info().
 */
function queue_unique_queue_class_info() {
  return array(
    '\\Drupal\\queue_unique\\Queue\\SystemSetQueue' => array(
      'title' => t('System Set Queue (database Queue with unique items)'),
      'inspect' => TRUE,
      'operations' => array(
        'view',
        'release',
        'delete',
        'deleteall',
      ),
    ),
  );
}

Functions

Namesort descending Description
queue_unique_queue_class_info Implements hook_queue_class_info().