public function Subquery::__construct in Views (for Drupal 7) 8.3
Constructs a Subquery object.
Overrides JoinPluginBase::__construct
File
- lib/
Drupal/ views/ Plugin/ views/ join/ Subquery.php, line 30 - 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\joinCode
public function __construct(array $configuration, $plugin_id, DiscoveryInterface $discovery) {
parent::__construct($configuration, $plugin_id, $discovery);
$this->left_query = $this->configuration['left_query'];
}