function _notifications_send_intervals in Notifications 5
Same name and namespace in other branches
- 6.4 notifications.module \_notifications_send_intervals()
- 6 notifications.module \_notifications_send_intervals()
- 6.2 notifications.module \_notifications_send_intervals()
- 6.3 notifications.module \_notifications_send_intervals()
List of send intervals. These may be overriden in a variable.
9 calls to _notifications_send_intervals()
- notifications_admin_queue_summary in ./
notifications.admin.inc - Summary of queued notifications
- notifications_content_form in notifications_content/
notifications_content.module - Generic subscriptions content form
- notifications_form_alter in ./
notifications.module - Implementation of hook_form_alter()
- notifications_form_confirm in ./
notifications.admin.inc - Form for subscription confirmation
- notifications_process_run in ./
notifications.cron.inc - Function to be called on cron by the main notifications_cron
File
- ./
notifications.module, line 1007 - Notifications module
Code
function _notifications_send_intervals() {
return variable_get('notifications_send_intervals', array(
-1 => t('Never'),
0 => t('Immediately'),
3600 => t('Every hour'),
43200 => t('Twice a day'),
86400 => t('Daily'),
604800 => t('Weekly'),
));
}