queue_unique.module in Queue Unique 7
Same filename and directory in other branches
Module implementation file.
File
queue_unique.moduleView 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
| 
            Name | 
                  Description | 
|---|---|
| queue_unique_queue_class_info | Implements hook_queue_class_info(). |