public static function Views::viewsData

Returns the views data service.

Return value

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

3 calls to Views::viewsData()
DefaultWizardDeriver::getDerivativeDefinitions in drupal/core/modules/views/lib/Drupal/views/Plugin/Derivative/DefaultWizardDeriver.php
Implements Drupal\Component\Plugin\Derivative\DerivativeInterface::getDerivativeDefinitions().
Sql::getEntityTables in drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
Returns an array of all tables from the query that map to an entity type.
ViewsEntityRow::getDerivativeDefinitions in drupal/core/modules/views/lib/Drupal/views/Plugin/Derivative/ViewsEntityRow.php
Returns the definition of all derivatives of a base plugin.

File

drupal/core/modules/views/lib/Drupal/views/Views.php, line 23
Contains \Drupal\views\Views.

Class

Views
Static service container wrapper for views.

Namespace

Drupal\views

Code

public static function viewsData() {
  return Drupal::service('views.views_data');
}