public function Analyzer::setView in Views (for Drupal 7) 8.3
Sets the view which is analyzed by this analyzer.
Parameters
Drupal\views\ViewExecutable: The view to analyze.
File
- lib/
Drupal/ views/ Analyzer.php, line 47 - 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\viewsCode
public function setView(ViewExecutable $view = NULL) {
$this->view = $view;
}