function FieldOrLanguageJoinTest::setUp

Same name in other branches
  1. 8.9.x core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php \Drupal\Tests\views\Kernel\Plugin\FieldOrLanguageJoinTest::setUp()
  2. 10 core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php \Drupal\Tests\views\Kernel\Plugin\FieldOrLanguageJoinTest::setUp()
  3. 11.x core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php \Drupal\Tests\views\Kernel\Plugin\FieldOrLanguageJoinTest::setUp()

File

core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php, line 37

Class

FieldOrLanguageJoinTest
Tests the "field OR language" join plugin.

Namespace

Drupal\Tests\views\Kernel\Plugin

Code

protected function setUp($import_test_views = TRUE) : void {
    parent::setUp();
    // Add a join plugin manager which can be used in all of the tests.
    $this->manager = $this->container
        ->get('plugin.manager.views.join');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.