You are here

function variable_name in Variable 7.2

Same name and namespace in other branches
  1. 7 variable.module \variable_name()

Get human readable name for variable.

Related topics

1 call to variable_name()
_variable_realm_variable_settings_form_conflict in variable_realm/variable_realm.form.inc
Warning about variable conflict.
1 string reference to 'variable_name'
variable_list_name in ./variable.module
Get human readable names for variable list.

File

./variable.module, line 330
Variable API module

Code

function variable_name($variable) {
  $variable = _variable_variable($variable);
  return $variable['title'];
}