You are here

public function Subquery::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/join/Subquery.php \Drupal\views\Plugin\views\join\Subquery::__construct()

Constructs a Subquery object.

Overrides JoinPluginBase::__construct

File

core/modules/views/src/Plugin/views/join/Subquery.php, line 25

Class

Subquery
Join handler for relationships that join with a subquery as the left field.

Namespace

Drupal\views\Plugin\views\join

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->left_query = $this->configuration['left_query'];
}