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

Breadcrumb

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

interface JoinPluginInterface

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

Extensions of this class can be used to create more interesting joins.

Hierarchy

  • interface \Drupal\views\Plugin\views\join\JoinPluginInterface

Expanded class hierarchy of JoinPluginInterface

All classes that implement JoinPluginInterface

File

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

Namespace

Drupal\views\Plugin\views\join
View source
interface JoinPluginInterface {
    
    /**
     * Builds the SQL for the join this object represents.
     *
     * When possible, try to use table alias instead of table names.
     *
     * @param $select_query
     *   A select query object.
     * @param $table
     *   The base table to join.
     * @param \Drupal\views\Plugin\views\query\QueryPluginBase $view_query
     *   The source views query.
     */
    public function buildJoin($select_query, $table, $view_query);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
JoinPluginInterface::buildJoin public function Builds the SQL for the join this object represents. 1

API Navigation

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