Returns the view analyzer.
Return value
\Drupal\views\Analyzer
Returns a view analyzer object.
File
- drupal/core/modules/views/lib/Drupal/views/Views.php, line 43
- Contains \Drupal\views\Views.
Class
- Views
- Static service container wrapper for views.
Namespace
Drupal\views
Code
public static function analyzer() {
return Drupal::service('views.analyzer');
}