You are here

public function ExportEntityViewsData::getViewsData in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ExportEntityViewsData.php \Drupal\content_synchronizer\Entity\ExportEntityViewsData::getViewsData()
  2. 3.x src/Entity/ExportEntityViewsData.php \Drupal\content_synchronizer\Entity\ExportEntityViewsData::getViewsData()

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

src/Entity/ExportEntityViewsData.php, line 15

Class

ExportEntityViewsData
Provides Views data for Export entity entities.

Namespace

Drupal\content_synchronizer\Entity

Code

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

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