function simplenews_get_priority in Simplenews 7.2
Same name and namespace in other branches
- 8.2 simplenews.module \simplenews_get_priority()
- 8 simplenews.module \simplenews_get_priority()
- 6.2 includes/simplenews.admin.inc \simplenews_get_priority()
- 7 includes/simplenews.admin.inc \simplenews_get_priority()
- 3.x simplenews.module \simplenews_get_priority()
Function to provide the various simplenews mail priorities for newsletters.
2 calls to simplenews_get_priority()
- simplenews_admin_newsletter_form in includes/
simplenews.admin.inc - Menu callback: newsletter admin form for newsletter add/edit.
- simplenews_admin_settings_newsletter in includes/
simplenews.admin.inc - Menu callback: Simplenews admin settings - Newsletter.
1 string reference to 'simplenews_get_priority'
File
- ./
simplenews.module, line 2208 - Simplenews node handling, sent email, newsletter block and general hooks
Code
function simplenews_get_priority() {
return array(
SIMPLENEWS_PRIORITY_NONE => t('none'),
SIMPLENEWS_PRIORITY_HIGHEST => t('highest'),
SIMPLENEWS_PRIORITY_HIGH => t('high'),
SIMPLENEWS_PRIORITY_NORMAL => t('normal'),
SIMPLENEWS_PRIORITY_LOW => t('low'),
SIMPLENEWS_PRIORITY_LOWEST => t('lowest'),
);
}