function PluginInstanceTest::testPluginInstances
Same name in other branches
- 8.9.x core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::testPluginInstances()
- 10 core/modules/views/tests/src/Kernel/PluginInstanceTest.php \Drupal\Tests\views\Kernel\PluginInstanceTest::testPluginInstances()
- 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 90
Class
- PluginInstanceTest
- Tests that an instance of all views plugins can be created.
Namespace
Drupal\Tests\views\KernelCode
public function testPluginInstances() {
$this->assertPluginInstances(FALSE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.