function ArgumentPluginBase::summaryArgument
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryArgument()
- 10 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryArgument()
- 11.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\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 core/
modules/ views/ src/ 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 core/
modules/ views/ src/ 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 core/
modules/ views/ src/ 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().
- StringArgument::summaryArgument in core/
modules/ views/ src/ Plugin/ views/ argument/ StringArgument.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
-
core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php, line 942
Class
- ArgumentPluginBase
- Base class for argument (contextual filter) handler plugins.
Namespace
Drupal\views\Plugin\views\argumentCode
public function summaryArgument($data) {
return $data->{$this->base_alias};
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.