You are here

public function PluginInstanceTest::testPluginInstances in Drupal 8

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

Tests creating instances of every views plugin.

This will iterate through all plugins from _views_fetch_plugin_data(), filtering out deprecated plugins.

File

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

Class

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

Namespace

Drupal\Tests\views\Kernel

Code

public function testPluginInstances() {
  $this
    ->assertPluginInstances(FALSE);
}