You are here

public function EntityViewsDataInterface::getViewsData in Drupal 10

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

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

1 method overrides EntityViewsDataInterface::getViewsData()
ViewsConfigEntityTestViewsData::getViewsData in core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php
Returns views data for the entity type.

File

core/modules/views/src/EntityViewsDataInterface.php, line 18

Class

EntityViewsDataInterface
Provides an interface to integrate an entity type with views.

Namespace

Drupal\views

Code

public function getViewsData();