You are here

function advuser_advuser_operations in Advanced User 7.3

Same name and namespace in other branches
  1. 5.2 advuser.module \advuser_advuser_operations()
  2. 6.3 advuser.module \advuser_advuser_operations()
  3. 6.2 advuser.module \advuser_advuser_operations()

Implement a hook_advuser_operations function.

File

./advuser.module, line 197
Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.

Code

function advuser_advuser_operations($form_state = array()) {
  $operations = array(
    'saveselect' => array(
      'label' => t('Save selection criteria'),
    ),
    'selectall' => array(
      'label' => t('Select all filtered users'),
    ),
    'deselectall' => array(
      'label' => t('Deselect all users'),
    ),
    'email' => array(
      'label' => t('Email selected users'),
    ),
    'delete' => array(
      'label' => t('Delete the selected users'),
    ),
  );
  return $operations;
}