Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Views.php

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal