You are here

function hook_simplenews_issue_operations in Simplenews 8

Same name and namespace in other branches
  1. 8.2 simplenews.api.php \hook_simplenews_issue_operations()
  2. 7.2 simplenews.api.php \hook_simplenews_issue_operations()
  3. 7 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

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;
}