function spam_spam_operations in Spam 5.3
Same name and namespace in other branches
- 6 spam.module \spam_spam_operations()
Implementation of hook_spam_operations().
File
- ./
spam.module, line 1412
Code
function spam_spam_operations() {
$operations = array(
'notspam' => array(
'label' => t('Mark as not spam'),
'callback' => 'spam_operations_callback',
'callback arguments' => array(
'mark_as_not_spam',
),
),
'publish' => array(
'label' => t('Publish'),
'callback' => 'spam_operations_callback',
'callback arguments' => array(
'publish',
),
),
'unpublish' => array(
'label' => t('Unpublish'),
'callback' => 'spam_operations_callback',
'callback arguments' => array(
'unpublish',
),
),
);
return $operations;
}