Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ArgumentPluginBase.php

function ArgumentPluginBase::summaryArgument

Provides 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
Provides the argument to use to link from the summary to the next level.
ManyToOne::summaryArgument in core/modules/views/src/Plugin/views/argument/ManyToOne.php
Provides the argument to use to link from the summary to the next level.
MonthDate::summaryArgument in core/modules/views/src/Plugin/views/argument/MonthDate.php
Provides the argument to use to link from the summary to the next level.
StringArgument::summaryArgument in core/modules/views/src/Plugin/views/argument/StringArgument.php
Provides the argument to use to link from the summary to the next level.

File

core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php, line 1000

Class

ArgumentPluginBase
Base class for argument (contextual filter) handler plugins.

Namespace

Drupal\views\Plugin\views\argument

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal