You are here

function variable_options_select_number in Variable 6

Same name and namespace in other branches
  1. 7.2 variable.variable.inc \variable_options_select_number()
  2. 7 variable.variable.inc \variable_options_select_number()

Options callback for numeric select

1 string reference to 'variable_options_select_number'
variable_variable_type_info in ./variable.variable.inc
Implements hook_variable_type_info().

File

./variable.variable.inc, line 245
Variable module hook implementations

Code

function variable_options_select_number($variable, $options = array()) {
  return drupal_map_assoc($variable['options']);
}