public function JoinTest::buildJoin

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

Overrides JoinPluginBase::buildJoin

File

drupal/core/modules/views/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);
}