You are here

function String::summary_name in Views (for Drupal 7) 8.3

Provides the name to use for the summary. By default this is just the name field.

Parameters

$data: The query results for the row.

Overrides ArgumentPluginBase::summary_name

2 methods override String::summary_name()
ListString::summary_name in lib/Views/field/Plugin/views/argument/ListString.php
Provides the name to use for the summary. By default this is just the name field.
Type::summary_name in lib/Views/node/Plugin/views/argument/Type.php
Override the behavior of summary_name(). Get the user friendly version of the node type.

File

lib/Drupal/views/Plugin/views/argument/String.php, line 285
Definition of Drupal\views\Plugin\views\argument\String.

Class

String
Basic argument handler to implement string arguments that may have length limits.

Namespace

Drupal\views\Plugin\views\argument

Code

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