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

File

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

Namespace

Drupal\views

Members

Name Modifiers Type Description
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.
doc_Drupal
2016-10-29 08:44:27
Comments
Leave a Comment

Please login to continue.