public function ArgumentPluginBase::summaryArgument

Provide the argument to use to link from the summary to the next level; this will be called once per row of a summary, and used as part of $view->getUrl().

Parameters

$data: The query results for the row.

4 methods override ArgumentPluginBase::summaryArgument()
DayDate::summaryArgument in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/DayDate.php
Provide the argument to use to link from the summary to the next level; this will be called once per row of a summary, and used as part of $view->getUrl().
ManyToOne::summaryArgument in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
Provide the argument to use to link from the summary to the next level; this will be called once per row of a summary, and used as part of $view->getUrl().
MonthDate::summaryArgument in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/MonthDate.php
Provide the argument to use to link from the summary to the next level; this will be called once per row of a summary, and used as part of $view->getUrl().
String::summaryArgument in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php
Provide the argument to use to link from the summary to the next level; this will be called once per row of a summary, and used as part of $view->getUrl().

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 887
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

public function summaryArgument($data) {
  return $data->{$this->base_alias};
}