You are here

public function JoinTest::buildJoin in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\join\JoinPluginBase::buildJoin().

Overrides JoinPluginBase::buildJoin

File

tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/join/JoinTest.php, line 52
Definition of Drupal\views_test_data\views\join\JoinTest.

Class

JoinTest
Defines a join test plugin.

Namespace

Drupal\views_test_data\Plugin\views\join

Code

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

  // Add an additional hardcoded condition to the query.
  $this->extra = 'node.uid = ' . $this
    ->getJoinValue();
  parent::buildJoin($select_query, $table, $view_query);
}