You are here

public function ImportEntityViewsData::getViewsData in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ImportEntityViewsData.php \Drupal\content_synchronizer\Entity\ImportEntityViewsData::getViewsData()
  2. 3.x src/Entity/ImportEntityViewsData.php \Drupal\content_synchronizer\Entity\ImportEntityViewsData::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/ImportEntityViewsData.php, line 15

Class

ImportEntityViewsData
Provides Views data for Import entities.

Namespace

Drupal\content_synchronizer\Entity

Code

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