You are here

public function JoinPluginInterface::buildJoin in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/join/JoinPluginInterface.php \Drupal\views\Plugin\views\join\JoinPluginInterface::buildJoin()

Builds the SQL for the join this object represents.

When possible, try to use table alias instead of table names.

Parameters

$select_query: An select query object.

$table: The base table to join.

\Drupal\views\Plugin\views\query\QueryPluginBase $view_query: The source views query.

1 method overrides JoinPluginInterface::buildJoin()
JoinPluginBase::buildJoin in core/modules/views/src/Plugin/views/join/JoinPluginBase.php
Builds the SQL for the join this object represents.

File

core/modules/views/src/Plugin/views/join/JoinPluginInterface.php, line 24

Class

JoinPluginInterface
Represents a join and creates the SQL necessary to implement the join.

Namespace

Drupal\views\Plugin\views\join

Code

public function buildJoin($select_query, $table, $view_query);