function queue_ui_test in Queue UI 6
Same name and namespace in other branches
- 7.2 queue_ui.module \queue_ui_test()
- 7 queue_ui.module \queue_ui_test()
File
- ./
queue_ui.module, line 43 - queue_ui.module
Code
function queue_ui_test() {
$queue = DrupalQueue::get('queue ui test_me');
$queue
->createQueue();
$num = mt_rand(0, 99);
for ($i = 0; $i < $num; $i++) {
$queue
->createItem(time());
}
}