function queue_ui_queue_names in Queue UI 7
Same name and namespace in other branches
- 6 queue_ui.module \queue_ui_queue_names()
- 7.2 queue_ui.module \queue_ui_queue_names()
Get the names of queues.
Parameters
Array of queue names suitable for DrupalQueue::get();:
1 call to queue_ui_queue_names()
- queue_ui_queues in ./
queue_ui.module - Get queues.
File
- ./
queue_ui.module, line 57 - queue_ui.module
Code
function queue_ui_queue_names() {
$result = db_query("SELECT DISTINCT name FROM {queue}");
return $result
->fetchAll();
}