You are here

function variable_format_empty in Variable 7.2

Same name and namespace in other branches
  1. 6 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_properties in ./variable.variable.inc
Format array variable with known keys, handling nested arrays
variable_format_selection in ./variable.variable.inc
Format select variable

File

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

Code

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