Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. JoinPluginInterface.php

function 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: A 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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal