public function Subquery::__construct

Constructs a Subquery object.

Overrides JoinPluginBase::__construct

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/join/Subquery.php, line 27
Definition of Drupal\views\Plugin\views\join\Subquery.

Class

Subquery
Join handler for relationships that join with a subquery as the left field. eg: LEFT JOIN node node_term_data ON ([YOUR SUBQUERY HERE]) = node_term_data.nid

Namespace

Drupal\views\Plugin\views\join

Code

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