You are here

function constant_contact_user_operations in Constant Contact 7.3

Same name and namespace in other branches
  1. 6.3 constant_contact.module \constant_contact_user_operations()
  2. 6.2 constant_contact.module \constant_contact_user_operations()

Implements hook_user_operations().

File

./constant_contact.module, line 759

Code

function constant_contact_user_operations() {
  $operations = array(
    'unsubscribe' => array(
      'label' => t('Unsubscribe the selected users'),
      'callback' => 'constant_contact_user_operations_unsubscribe',
    ),
    'unsubscribe_and_delete' => array(
      'label' => t('Unsubscribe and delete the selected users'),
      'callback' => 'constant_contact_user_operations_unsubscribe_and_delete',
    ),
  );
  return $operations;
}