You are here

protected function PluginInstanceTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::setUp()
  2. 9 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::setUp()

File

core/modules/views/tests/src/Kernel/PluginInstanceTest.php, line 56

Class

PluginInstanceTest
Tests that an instance of all views plugins can be created.

Namespace

Drupal\Tests\views\Kernel

Code

protected function setUp($import_test_views = TRUE) : void {
  parent::setUp();
  $this->definitions = Views::getPluginDefinitions();
}