function PluginInstanceTest::setUp
Same name in other branches
- 9 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::setUp()
- 8.9.x core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::setUp()
- 10 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::setUp()
Overrides ViewsKernelTestBase::setUp
File
-
core/
modules/ views/ tests/ src/ Kernel/ PluginInstanceTest.php, line 68
Class
- PluginInstanceTest
- Tests that an instance of all views plugins can be created.
Namespace
Drupal\Tests\views\KernelCode
protected function setUp($import_test_views = TRUE) : void {
parent::setUp();
$this->definitions = Views::getPluginDefinitions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.