You are here

public static function Views::viewsDataHelper in Drupal 10

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

Returns the views data helper service.

Return value

\Drupal\views\ViewsDataHelper Returns a views data helper object.

3 calls to Views::viewsDataHelper()
AddHandler::buildForm in core/modules/views_ui/src/Form/Ajax/AddHandler.php
ConfigHandler::buildForm in core/modules/views_ui/src/Form/Ajax/ConfigHandler.php
WizardPluginBase::defaultDisplayFiltersUser in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Retrieves filter information based on user input for the default display.

File

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

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

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