You are here

function variable_format_unknown in Variable 7

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

Format unknown variable

Related topics

1 call to variable_format_unknown()
variable_format_value in ./variable.module
Format printable value
1 string reference to 'variable_format_unknown'
variable_variable_type_info in ./variable.variable.inc
Implements hook_variable_type_info().

File

./variable.module, line 121
Variable API module

Code

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