function String::summary_name

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 drupal/core/modules/field/lib/Drupal/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 drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/Type.php
Override the behavior of summary_name(). Get the user friendly version of the node type.

File

drupal/core/modules/views/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']);
}