function Views::handlerManager

Same name in other branches
  1. 9 core/modules/views/src/Views.php \Drupal\views\Views::handlerManager()
  2. 8.9.x core/modules/views/src/Views.php \Drupal\views\Views::handlerManager()
  3. 10 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.