You are here

function variable_format_unknown in Variable 6

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

Format unknown variable

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

File

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

Code

function variable_format_unknown($variable, $options = array()) {
  return '<pre>' . check_plain(print_r($variable['value'], TRUE)) . '</pre>';
}