You are here

function variable_name in Variable 7

Same name and namespace in other branches
  1. 7.2 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.

File

./variable.module, line 327
Variable API module

Code

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