function variable_format_multiple in Variable 7.2
Same name and namespace in other branches
- 7 variable.variable.inc \variable_format_multiple()
Format multiple variable.
1 string reference to 'variable_format_multiple'
- variable_variable_type_info in ./
variable.variable.inc - Implements hook_variable_type_info().
File
- ./
variable.variable.inc, line 364 - Variable module hook implementations
Code
function variable_format_multiple($variable, $options = array()) {
$rows = array();
foreach ($variable['children'] as $name => $child) {
$rows[$name] = array(
array(
'data' => check_plain($child['title']),
'header' => TRUE,
),
variable_format_value($child),
);
}
return theme('table', array(
'rows' => $rows,
));
}