You are here

public function views_handler_argument_string::summary_name in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_argument_string.inc \views_handler_argument_string::summary_name()
  2. 6.2 handlers/views_handler_argument_string.inc \views_handler_argument_string::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.

Overrides views_handler_argument::summary_name

2 methods override views_handler_argument_string::summary_name()
views_handler_argument_field_list_string::summary_name in modules/field/views_handler_argument_field_list_string.inc
Provides the name to use for the summary.
views_handler_argument_node_type::summary_name in modules/node/views_handler_argument_node_type.inc
Override the behavior of summary_name(). Get the user friendly version of the node type.

File

handlers/views_handler_argument_string.inc, line 299
Definition of views_handler_argument_string.

Class

views_handler_argument_string
Argument handler to implement string arguments that may have length limits.

Code

public function summary_name($data) {
  return $this
    ->case_transform(parent::summary_name($data), $this->options['case']);
}