function Subquery::__construct

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/join/Subquery.php \Drupal\views\Plugin\views\join\Subquery::__construct()
  2. 8.9.x core/modules/views/src/Plugin/views/join/Subquery.php \Drupal\views\Plugin\views\join\Subquery::__construct()
  3. 11.x 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 33

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'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.