You are here

function system_variable_option_weekday in Variable 7

Same name and namespace in other branches
  1. 7.2 includes/system.variable.inc \system_variable_option_weekday()

Callback for weekday options

1 string reference to 'system_variable_option_weekday'
system_variable_type_info in includes/system.variable.inc
Implements hook_variable_type_info().

File

includes/system.variable.inc, line 296
Variable API module. Definition for Drupal core variables

Code

function system_variable_option_weekday($variable, $options) {
  return array(
    0 => t('Sunday', array(), $options),
    1 => t('Monday', array(), $options),
    2 => t('Tuesday', array(), $options),
    3 => t('Wednesday', array(), $options),
    4 => t('Thursday', array(), $options),
    5 => t('Friday', array(), $options),
    6 => t('Saturday', array(), $options),
  );
}