function simplenews_simplenews_subscription_operations in Simplenews 7.2
Same name and namespace in other branches
- 7 includes/simplenews.admin.inc \simplenews_simplenews_subscription_operations()
Implements hook_simplenews_subscription_operations().
File
- includes/
simplenews.admin.inc, line 1117 - Newsletter admin, subscription admin, simplenews settings
Code
function simplenews_simplenews_subscription_operations() {
$operations = array(
'activate' => array(
'label' => t('Activate'),
'callback' => 'simplenews_subscription_activate',
'callback arguments' => array(
SIMPLENEWS_SUBSCRIPTION_ACTIVE,
),
),
'inactivate' => array(
'label' => t('Inactivate'),
'callback' => 'simplenews_subscription_activate',
'callback arguments' => array(
SIMPLENEWS_SUBSCRIPTION_INACTIVE,
),
),
'delete' => array(
'label' => t('Delete'),
'callback' => 'simplenews_subscription_delete_multiple',
),
);
return $operations;
}