function simplenews_rules_confirmation_list in Simplenews 8
Same name and namespace in other branches
- 8.2 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()
- 7.2 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()
- 7 simplenews_rules/simplenews_rules.module \simplenews_rules_confirmation_list()
- 3.x 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 16 - Module file for Simpelnews 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'),
);
}