You are here

function simplenews_get_priority in Simplenews 6.2

Same name and namespace in other branches
  1. 8.2 simplenews.module \simplenews_get_priority()
  2. 8 simplenews.module \simplenews_get_priority()
  3. 7.2 simplenews.module \simplenews_get_priority()
  4. 7 includes/simplenews.admin.inc \simplenews_get_priority()
  5. 3.x simplenews.module \simplenews_get_priority()
4 calls to simplenews_get_priority()
simplenews_admin_settings_newsletter in includes/simplenews.admin.inc
Menu callback: Simplenews admin settings - Newsletter.
simplenews_handler_field_newsletter_priority::render in includes/views/simplenews_handler_field_newsletter_priority.inc
simplenews_handler_filter_newsletter_priority::get_value_options in includes/views/simplenews_handler_filter_newsletter_priority.inc
simplenews_node_tab_send_form in ./simplenews.module
Simplenews tab form

File

includes/simplenews.admin.inc, line 1438
Newsletter admin, subscription admin, simplenews settings

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'),
  );
}