You are here

function variable_format_empty in Variable 6

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

Format variable empty value

4 calls to variable_format_empty()
variable_format_array in ./variable.variable.inc
Format array variable, handling nested arrays
variable_format_options in ./variable.variable.inc
Format options variable. Value is an array of options.
variable_format_selection in ./variable.variable.inc
Format select variable
variable_format_text in ./variable.variable.inc
Format text variable

File

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

Code

function variable_format_empty($variable) {
  return isset($variable['empty']) ? $variable['empty'] : t('Empty');
}