You are here

function hook_simplenews_issue_operations in Simplenews 3.x

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. 7 simplenews.api.php \hook_simplenews_issue_operations()

Return operations to be applied to newsletter issues.

Related topics

File

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

Code

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