You are here

function simplenews_hook_info in Simplenews 6

Same name and namespace in other branches
  1. 6.2 simplenews_action/simplenews_action.module \simplenews_hook_info()

Implementation of hook_hook_info().

File

simplenews_action/simplenews_action.module, line 300
simplenews_action.inc Provide actions for simplenews.

Code

function simplenews_hook_info() {
  return array(
    'simplenews' => array(
      'simplenews' => array(
        'subscribe' => array(
          'runs when' => t('After a user has been subscribed'),
        ),
        'unsubscribe' => array(
          'runs when' => t('After a user has been unsubscribed'),
        ),
      ),
    ),
  );
}