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

public static function viewsData() {
  return \Drupal::service('views.views_data');
}
doc_Drupal
2016-10-29 09:54:49
Comments
Leave a Comment

Please login to continue.