function PluginInstanceTest::setUp
Same name in other branches
- 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()
- 11.x 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 59
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.