function EntityViewsDataInterface::getViewsData

Same name and namespace in other branches
  1. 11.x 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().

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.