function Views::analyzer

Same name in other branches
  1. 9 core/modules/views/src/Views.php \Drupal\views\Views::analyzer()
  2. 10 core/modules/views/src/Views.php \Drupal\views\Views::analyzer()
  3. 11.x 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.