function views_handler_argument::summary_name
Provides the name to use for the summary.
By default this is just the name field.
Parameters
object $data: The query results for the row.
Return value
string The summary.
1 call to views_handler_argument::summary_name()
- views_handler_argument_string::summary_name in handlers/
views_handler_argument_string.inc - Provides the name to use for the summary.
10 methods override views_handler_argument::summary_name()
- views_handler_argument_field_list::summary_name in modules/
field/ views_handler_argument_field_list.inc - Provides the name to use for the summary.
- views_handler_argument_locale_group::summary_name in modules/
locale/ views_handler_argument_locale_group.inc - Override the behavior of summary_name(). Get the user friendly version of the group.
- views_handler_argument_locale_language::summary_name in modules/
locale/ views_handler_argument_locale_language.inc - Override the behavior of summary_name(). Get the user friendly version of the language.
- views_handler_argument_node_created_day::summary_name in modules/
node/ views_handler_argument_dates_various.inc - Provide a link to the next level of the view.
- views_handler_argument_node_created_fulldate::summary_name in modules/
node/ views_handler_argument_dates_various.inc - Provide a link to the next level of the view.
File
-
handlers/
views_handler_argument.inc, line 1004
Class
- views_handler_argument
- Base class for arguments.
Code
public 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);
}