function JoinPluginInterface::buildJoin
Same name in other branches
- 9 core/modules/views/src/Plugin/views/join/JoinPluginInterface.php \Drupal\views\Plugin\views\join\JoinPluginInterface::buildJoin()
- 10 core/modules/views/src/Plugin/views/join/JoinPluginInterface.php \Drupal\views\Plugin\views\join\JoinPluginInterface::buildJoin()
- 11.x 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\joinCode
public function buildJoin($select_query, $table, $view_query);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.