You are here

public static function Views::handlerManager in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Views.php \Drupal\views\Views::handlerManager()

Returns the plugin manager for a certain views handler type.

Return value

\Drupal\views\Plugin\ViewsHandlerManager

File

core/modules/views/src/Views.php, line 108

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

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