function Analyzer::__construct

Constructs an Analyzer object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler that invokes the 'views_analyze' hook.

File

core/modules/views/src/Analyzer.php, line 32

Class

Analyzer
View analyzer plugin manager.

Namespace

Drupal\views

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}

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