You are here

public function RealEstateViewsData::getViewsData in Styled Google Map 8.2

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

modules/demo/src/Entity/RealEstateViewsData.php, line 15

Class

RealEstateViewsData
Provides Views data for Real estate entities.

Namespace

Drupal\styled_google_map_demo\Entity

Code

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

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