function Analyzer::__construct

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Analyzer.php \Drupal\views\Analyzer::__construct()
  2. 10 core/modules/views/src/Analyzer.php \Drupal\views\Analyzer::__construct()
  3. 9 core/modules/views/src/Analyzer.php \Drupal\views\Analyzer::__construct()
  4. 8.9.x core/modules/views/src/Analyzer.php \Drupal\views\Analyzer::__construct()

Constructs an Analyzer object.

Parameters

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

File

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

Class

Analyzer
View analyzer plugin manager.

Namespace

Drupal\views

Code

public function __construct(protected ModuleHandlerInterface $moduleHandler) {
}

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