function notifications_admin_queue_operations in Notifications 6.2
Same name and namespace in other branches
- 6 notifications.admin.inc \notifications_admin_queue_operations()
- 6.3 notifications.admin.inc \notifications_admin_queue_operations()
Form for queue operations
1 string reference to 'notifications_admin_queue_operations'
- notifications_admin_queue in ./
notifications.admin.inc - Admin queue management
File
- ./
notifications.admin.inc, line 407
Code
function notifications_admin_queue_operations() {
$form['operations'] = array(
'#type' => 'fieldset',
'#title' => t('Operations'),
'#theme' => 'notifications_table_form',
'#table_fields' => array(
'description',
'button',
),
);
foreach (notifications_queue_operations() as $op => $data) {
$form['operations']['description'][$op] = array(
'#value' => $data['description'],
);
$form['operations']['button'][$op] = array(
'#type' => 'submit',
'#value' => $data['label'],
);
}
return $form;
}