function simplenews_opt_inout_options in Simplenews 8.2
Same name and namespace in other branches
- 8 simplenews.module \simplenews_opt_inout_options()
- 7.2 simplenews.module \simplenews_opt_inout_options()
Returns the available options for the opt_inout newsletter property.
1 call to simplenews_opt_inout_options()
- NewsletterForm::form in src/
Form/ NewsletterForm.php - Overrides Drupal\Core\Entity\EntityForm::form().
File
- ./
simplenews.module, line 765 - Simplenews node handling, sent email, newsletter block and general hooks.
Code
function simplenews_opt_inout_options() {
return [
SIMPLENEWS_OPT_INOUT_HIDDEN => t('Hidden'),
SIMPLENEWS_OPT_INOUT_SINGLE => t('Single'),
SIMPLENEWS_OPT_INOUT_DOUBLE => t('Double'),
];
}