You are here

function queue_ui_defined_queues in Queue UI 6

Same name and namespace in other branches
  1. 7.2 queue_ui.module \queue_ui_defined_queues()
  2. 7 queue_ui.module \queue_ui_defined_queues()

Get queues defined with hook_queue_info().

Return value

Array of queues indexed by name and containing

4 calls to queue_ui_defined_queues()
queue_ui_cron in ./queue_ui.module
Implements hook_cron().
queue_ui_delete_submit in ./queue_ui.pages.inc
Submit handler for deleting queues.
queue_ui_overview_form in ./queue_ui.pages.inc
queue_ui_overview_submit in ./queue_ui.pages.inc
Overview submit handler.

File

./queue_ui.module, line 89
queue_ui.module

Code

function queue_ui_defined_queues() {
  $queues =& drupal_static(__FUNCTION__);
  if (!isset($queues)) {

    // Invoke hook_queue_info().
    $queues = module_invoke_all('queue_info');
  }
  return $queues;
}