function simplenews_access_options in Simplenews 3.x
Returns the available options for the access newsletter property.
1 call to simplenews_access_options()
- NewsletterForm::form in src/
Form/ NewsletterForm.php - Overrides Drupal\Core\Entity\EntityForm::form().
File
- ./
simplenews.module, line 769 - Simplenews node handling, sent email, newsletter block and general hooks.
Code
function simplenews_access_options() {
return [
SIMPLENEWS_ACCESS_DEFAULT => t('Default'),
SIMPLENEWS_ACCESS_HIDDEN => t('Hidden'),
];
}