You are here

function Analyzer::__construct in Views (for Drupal 7) 8.3

Constructs the analyzer object.

Parameters

Drupal\views\ViewExecutable $view: (optional) The view to analyze.

File

lib/Drupal/views/Analyzer.php, line 35
Definition of Drupal\views\Analyzer.

Class

Analyzer
This tool is a small plugin manager to perform analysis on a view and report results to the user. This tool is meant to let modules that provide data to Views also help users properly use that data by detecting invalid configurations. Views itself…

Namespace

Drupal\views

Code

function __construct(ViewExecutable $view = NULL) {
  if (isset($view)) {
    $this->view = $view;
  }
}