You are here

public function TypeGroupViewsData::getViewsData in Booking and Availability Management Tools for Drupal 8

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/TypeGroupViewsData.php, line 21
Contains \Drupal\bat\Entity\TypeGroupViewsData.

Class

TypeGroupViewsData
Provides Views data for Type Group entities.

Namespace

Drupal\bat\Entity

Code

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