public function ArgumentPluginBase::query in Views (for Drupal 7) 8.3
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 lib/
Drupal/ views/ Plugin/ views/ argument/ Broken.php - Set up the query for this argument.
- Formula::query in lib/
Drupal/ views/ Plugin/ views/ argument/ Formula.php - Build the query based upon the formula
- GroupByNumeric::query in lib/
Drupal/ views/ Plugin/ views/ argument/ GroupByNumeric.php - Set up the query for this argument.
- IndexTidDepth::query in lib/
Views/ taxonomy/ Plugin/ views/ argument/ IndexTidDepth.php - Set up the query for this argument.
- IndexTidDepthModifier::query in lib/
Views/ taxonomy/ Plugin/ views/ argument/ IndexTidDepthModifier.php - Set up the query for this argument.
File
- 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\argumentCode
public function query($group_by = FALSE) {
$this
->ensureMyTable();
$this->query
->add_where(0, "{$this->tableAlias}.{$this->realField}", $this->argument);
}