You are here

function ArgumentPluginBase::summary_argument in Views (for Drupal 7) 8.3

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::summary_argument()
CreatedDay::summary_argument in lib/Views/node/Plugin/views/argument/CreatedDay.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().
CreatedMonth::summary_argument in lib/Views/node/Plugin/views/argument/CreatedMonth.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::summary_argument in 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().
String::summary_argument in 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

lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 883
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

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