You are here

public static function Views::handlerManager in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Views.php \Drupal\views\Views::handlerManager()
  2. 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

6 calls to Views::handlerManager()
ConfigHandler::buildForm in core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
ConfigHandler::submitForm in core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
ConfigHandlerGroup::submitForm in core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php
GroupByNumeric::init in core/modules/views/src/Plugin/views/sort/GroupByNumeric.php
InputRequired::preRender in core/modules/views/src/Plugin/views/exposed_form/InputRequired.php
Runs before the view is rendered.

... See full list

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);
}