You are here

public static function Views::handlerManager in Drupal 9

Same name and namespace in other branches
  1. 8 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);
}