/**
* Tests the \Drupal\views\Views::fetchPluginNames() method.
*/ publicfunctiontestViewsFetchPluginNames(){ // All style plugins should be returned, as we have not specified a type.
$plugins = Views::fetchPluginNames('style'); $definitions = $this->container->get('plugin.manager.views.style')->getDefinitions();