function PluginInstanceTest::testDeprecatedPluginInstances

Tests creating instances of deprecated views plugin.

This will iterate through all plugins from _views_fetch_plugin_data() and test only deprecated plugins.

@group legacy

@expectedDeprecation Drupal\system\Plugin\views\field\BulkForm is deprecated in drupal:8.5.0, will be removed before drupal:9.0.0. Use \Drupal\views\Plugin\views\field\BulkForm instead. See https://www.drupal.org/node/2916716.

File

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

Class

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

Namespace

Drupal\Tests\views\Kernel

Code

public function testDeprecatedPluginInstances() {
    $this->assertPluginInstances(TRUE);
}

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