function subscriptions_user_operations in Subscriptions 2.0.x
Same name and namespace in other branches
- 6 subscriptions.module \subscriptions_user_operations()
- 7 subscriptions.module \subscriptions_user_operations()
Implements hook_user_operations().
Return value
array|null
File
- ./
subscriptions.module.old.php, line 1024 - Subscriptions module.
Code
function subscriptions_user_operations() {
if (user_access('bulk-administer user subscriptions')) {
return array(
array(
'label' => t('Subscribe the selected users to...'),
'callback' => '_subscriptions_bulk_operation',
'callback arguments' => array(
'sub',
),
),
array(
'label' => t('Unsubscribe the selected users from...'),
'callback' => '_subscriptions_bulk_operation',
'callback arguments' => array(
'unsub',
),
),
);
}
return NULL;
}