function PluginInstanceTest::testPluginInstances

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::testPluginInstances()
  2. 10 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::testPluginInstances()
  3. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.