public static function Views::pluginManager

Returns the plugin manager for a certain views plugin type.

Parameters

string $type: The plugin type, for example filter.

Return value

\Drupal\views\Plugin\ViewsPluginManager

5 calls to Views::pluginManager()
DisplayPluginBase::initDisplay in drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
JoinTest::setUp in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/JoinTest.php
Sets up Drupal unit test environment.
View::getDisplaysList in drupal/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php
Gets a list of displays included in the view.
ViewExecutable::initDisplay in drupal/core/modules/views/lib/Drupal/views/ViewExecutable.php
Set the display for this view and initialize the display handler.
views_get_handler in drupal/core/modules/views/views.module
Fetch a handler from the data cache.

File

drupal/core/modules/views/lib/Drupal/views/Views.php, line 55
Contains \Drupal\views\Views.

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

public static function pluginManager($type) {
  return Drupal::service('plugin.manager.views.' . $type);
}