You are here

public function ViewsConfigEntityTestViewsData::getViewsData in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php \Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData::getViewsData()

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsDataInterface::getViewsData

File

core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php, line 16

Class

ViewsConfigEntityTestViewsData
Provides a view to override views data for config test entity types.

Namespace

Drupal\views_config_entity_test

Code

public function getViewsData() {
  return [];
}