You are here

public function ProjectViewsData::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_project/src/Entity/ProjectViewsData.php, line 15

Class

ProjectViewsData
Provides Views data for Project entities.

Namespace

Drupal\pm_project\Entity

Code

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

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