protected function WizardPluginBaseKernelTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Wizard/WizardPluginBaseKernelTest.php \Drupal\views\Tests\Wizard\WizardPluginBaseKernelTest::setUp()
Parameters
bool $import_test_views: Should the views specififed on the test class be imported. If you need to setup some additional stuff, like fields, you need to call false and then call createTestViews for your own.
Overrides ViewKernelTestBase::setUp
File
- core/
modules/ views/ src/ Tests/ Wizard/ WizardPluginBaseKernelTest.php, line 37 - Contains \Drupal\views\Tests\Wizard\WizardPluginBaseKernelTest.
Class
- WizardPluginBaseKernelTest
- Tests the wizard base plugin class.
Namespace
Drupal\views\Tests\WizardCode
protected function setUp() {
parent::setUp();
$this
->installConfig(array(
'language',
));
$this->wizard = $this->container
->get('plugin.manager.views.wizard')
->createInstance('standard:views_test_data', array());
}