function PluginInstanceTest::setUp

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

Code

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.