You are here

function hook_simplenews_issue_operations in Simplenews 7

Same name and namespace in other branches
  1. 8.2 simplenews.api.php \hook_simplenews_issue_operations()
  2. 8 simplenews.api.php \hook_simplenews_issue_operations()
  3. 7.2 simplenews.api.php \hook_simplenews_issue_operations()
  4. 3.x simplenews.api.php \hook_simplenews_issue_operations()

Return operations to be applied to newsletter issues.

Related topics

1 function implements hook_simplenews_issue_operations()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

simplenews_simplenews_issue_operations in includes/simplenews.admin.inc
Implements hook_simplenews_issue_operations().
2 invocations of hook_simplenews_issue_operations()
simplenews_admin_issues in includes/simplenews.admin.inc
Form builder: Builds a list of newsletters with operations.
simplenews_admin_issues_submit in includes/simplenews.admin.inc
Form submit callback for the issue operations.

File

./simplenews.api.php, line 69
Hooks provided by the Simplenews module.

Code

function hook_simplenews_issue_operations() {
  $operations = array(
    'activate' => array(
      'label' => t('Send'),
      'callback' => 'simplenews_issue_send',
    ),
  );
  return $operations;
}