function system_variable_option_time_interval in Variable 7.2
Callback for time interval options
1 string reference to 'system_variable_option_time_interval'
- system_variable_type_info in includes/
system.variable.inc - Implements hook_variable_type_info().
File
- includes/
system.variable.inc, line 416 - Variable API module. Definition for Drupal core variables
Code
function system_variable_option_time_interval($variable, $options) {
$period = drupal_map_assoc($variable['interval values'], 'format_interval');
if (isset($period[0])) {
$period[0] = '<' . t('none') . '>';
}
return $period;
}