public function ArgumentPluginBase::query

Set up the query for this argument.

The argument sent may be found at $this->argument.

Overrides PluginBase::query

11 methods override ArgumentPluginBase::query()
Broken::query in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php
Set up the query for this argument.
Formula::query in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php
Build the query based upon the formula
GroupByNumeric::query in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php
Set up the query for this argument.
IndexTidDepth::query in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php
Set up the query for this argument.
IndexTidDepthModifier::query in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepthModifier.php
Set up the query for this argument.

... See full list

File

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

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

public function query($group_by = FALSE) {
  $this
    ->ensureMyTable();
  $this->query
    ->add_where(0, "{$this->tableAlias}.{$this->realField}", $this->argument);
}