You are here

function simplenews_rules_confirmation_list in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()
  2. 8 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()
  3. 7.2 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()
  4. 7 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()

Returns the options for the confirmation paramter.

1 string reference to 'simplenews_rules_confirmation_list'
simplenews_rules_rules_action_info in simplenews_rules/simplenews_rules.rules.inc
Implements hook_rules_action_info().

File

simplenews_rules/simplenews_rules.module, line 17
Module file for Simplenews rules integration.

Code

function simplenews_rules_confirmation_list() {
  return array(
    SIMPLENEWS_RULES_CONFIRMATION_DEFAULT => t('Default'),
    SIMPLENEWS_RULES_CONFIRMATION_YES => t('Yes'),
    SIMPLENEWS_RULES_CONFIRMATION_NO => t('No'),
  );
}