Returns the plugin manager for a certain views plugin type.
string $type: The plugin type, for example filter.
\Drupal\views\Plugin\ViewsPluginManager
public static function pluginManager($type) {
return Drupal::service('plugin.manager.views.' . $type);
}