root / drupal7 / sites / all / modules / variable / variable_views / includes / views_handler_field_variable_title.inc @ 651307cd
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* Field handler to translate a variable name into its readable form. |
5 |
*/ |
6 |
class views_handler_field_variable_title extends views_handler_field { |
7 |
function render($values) { |
8 |
$name = $this->get_value($values); |
9 |
$variable = variable_build($name); |
10 |
return $variable['title']; |
11 |
} |
12 |
} |