You are here

public function OrganizationViewsData::getViewsData in Drupal PM (Project Management) 4.x

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

modules/pm_organization/src/Entity/OrganizationViewsData.php, line 15

Class

OrganizationViewsData
Provides Views data for Organization entities.

Namespace

Drupal\pm_organization\Entity

Code

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

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