You are here

function simplenews_opt_inout_options in Simplenews 7.2

Same name and namespace in other branches
  1. 8.2 simplenews.module \simplenews_opt_inout_options()
  2. 8 simplenews.module \simplenews_opt_inout_options()

Returns the available options for the opt_inout newsletter property.

1 call to simplenews_opt_inout_options()
simplenews_admin_newsletter_form in includes/simplenews.admin.inc
Menu callback: newsletter admin form for newsletter add/edit.

File

./simplenews.module, line 2234
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_opt_inout_options() {
  return array(
    SIMPLENEWS_OPT_INOUT_HIDDEN => t('Hidden'),
    SIMPLENEWS_OPT_INOUT_SINGLE => t('Single'),
    SIMPLENEWS_OPT_INOUT_DOUBLE => t('Double'),
  );
}