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 comes with only a small amount of analysis tools, but more could easily be added either by modules or as patches to Views itself.

Hierarchy

Expanded class hierarchy of Analyzer

4 files declare their use of Analyzer
1 string reference to 'Analyzer'
1 service uses Analyzer

File

drupal/core/modules/views/lib/Drupal/views/Analyzer.php, line 21
Contains \Drupal\views\Analyzer.

Namespace

Drupal\views
View source

Members

Namesort descending Modifiers Type Description Overrides
Analyzer::$moduleHandler protected property A module handler that invokes the 'views_analyze' hook.
Analyzer::formatMessage static function Formats an analysis message.
Analyzer::formatMessages public function Formats the analyze result into a message string.
Analyzer::getMessages public function Analyzes a review and return the results.
Analyzer::__construct public function Constructs an Analyzer object.