Provides the name to use for the summary. By default this is just the name field.
$data: The query results for the row.
Overrides ArgumentPluginBase::summary_name
function summary_name($data) {
$value = $data->{$this->name_alias};
// If the list element has a human readable name show it,
if (isset($this->allowed_values[$value]) && !empty($this->options['summary']['human'])) {
return field_filter_xss($this->allowed_values[$value]);
}
else {
return check_plain($value);
}
}