You are here

public function GatsbyLogEntityViewsData::getViewsData in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_fastbuilds/src/Entity/GatsbyLogEntityViewsData.php \Drupal\gatsby_fastbuilds\Entity\GatsbyLogEntityViewsData::getViewsData()

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

modules/gatsby_fastbuilds/src/Entity/GatsbyLogEntityViewsData.php, line 15

Class

GatsbyLogEntityViewsData
Provides Views data for Gatsby log entity entities.

Namespace

Drupal\gatsby_fastbuilds\Entity

Code

public function getViewsData() {
  $data = parent::getViewsData();

  // Additional information for Views integration, such as table joins, can be
  // put here.
  return $data;
}