function WizardPluginBaseKernelTest::setUp

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

Overrides ViewsKernelTestBase::setUp

File

core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php, line 35

Class

WizardPluginBaseKernelTest
Tests the wizard base plugin class.

Namespace

Drupal\Tests\views\Kernel\Wizard

Code

protected function setUp($import_test_views = TRUE) : void {
    parent::setUp();
    $this->installConfig([
        'language',
    ]);
    $this->wizard = $this->container
        ->get('plugin.manager.views.wizard')
        ->createInstance('standard:views_test_data', []);
}

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