You are here

function simplenews_simplenews_issue_operations in Simplenews 7

Same name and namespace in other branches
  1. 7.2 includes/simplenews.admin.inc \simplenews_simplenews_issue_operations()

Implements hook_simplenews_issue_operations().

File

includes/simplenews.admin.inc, line 204
Newsletter admin, subscription admin, simplenews settings

Code

function simplenews_simplenews_issue_operations() {

  // @todo: future ideas: 'pause' => t('Pause sending'), 'resume' => t('Resume sending'), 'cancel' => t('Cancel sending'), 'publish' => t('Publish'), 'unpublish' => t('Unpublish'));
  $operations = array(
    'activate' => array(
      'label' => t('Send'),
      'callback' => 'simplenews_issue_send',
    ),
  );
  return $operations;
}