You are here

function simplenews_new_account_options in Simplenews 7.2

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

Returns a list of options for the new account settings.

1 call to simplenews_new_account_options()
simplenews_admin_newsletter_form in includes/simplenews.admin.inc
Menu callback: newsletter admin form for newsletter add/edit.
1 string reference to 'simplenews_new_account_options'
SimplenewsNewsletterMetadataController::entityPropertyInfo in includes/simplenews.info.inc
Overrides EntityDefaultMetadataController::entityPropertyInfo().

File

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

Code

function simplenews_new_account_options() {
  return array(
    'none' => t('None'),
    'on' => t('Default on'),
    'off' => t('Default off'),
    'silent' => t('Silent'),
  );
}