1 views_handler_argument.inc | views_handler_argument::summary_name($data) |
Provides the name to use for the summary. By default this is just the name field.
Parameters
$data: The query results for the row.
File
- core/
modules/ views/ handlers/ views_handler_argument.inc, line 956 - @todo.
Class
- views_handler_argument
- Base class for arguments.
Code
function summary_name($data) {
$value = $data->{$this->name_alias};
if (empty($value) && !empty($this->definition['empty field name'])) {
$value = $this->definition['empty field name'];
}
return check_plain($value);
}