function WizardPluginBaseKernelTest::setUp

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php \Drupal\Tests\views\Kernel\Wizard\WizardPluginBaseKernelTest::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.