Views::viewsData

public static Views::viewsData()

Returns the views data service.

Return value

\Drupal\views\ViewsData Returns a views data cache object.

File

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

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

1
2
3
public static function viewsData() {
  return \Drupal::service('views.views_data');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.