Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Views.php \Drupal\views\Views::analyzer()
  2. 9 core/modules/views/src/Views.php \Drupal\views\Views::analyzer()

Returns the view analyzer.

Return value

\Drupal\views\Analyzer Returns a view analyzer object.

1 call to Views::analyzer()
Analyze::buildForm in core/modules/views_ui/src/Form/Ajax/Analyze.php
Form constructor.

File

core/modules/views/src/Views.php, line 87

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

public static function analyzer() {
  return \Drupal::service('views.analyzer');
}