function simplenews_subscriber_status_list in Simplenews 3.x
Same name and namespace in other branches
- 8.2 simplenews.module \simplenews_subscriber_status_list()
- 8 simplenews.module \simplenews_subscriber_status_list()
Returns the available options for the subscriber status.
1 string reference to 'simplenews_subscriber_status_list'
- SubscriberViewsData::getViewsData in src/
SubscriberViewsData.php - Returns views data for the entity type.
File
- ./
simplenews.module, line 779 - Simplenews node handling, sent email, newsletter block and general hooks.
Code
function simplenews_subscriber_status_list() {
return [
SIMPLENEWS_SUBSCRIPTION_STATUS_SUBSCRIBED => t('Subscribed'),
SIMPLENEWS_SUBSCRIPTION_STATUS_UNSUBSCRIBED => t('Unsubscribed'),
SIMPLENEWS_SUBSCRIPTION_STATUS_UNCONFIRMED => t('Unconfirmed'),
];
}