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\EntityCode
public function getViewsData() {
$data = parent::getViewsData();
// Additional information for Views integration, such as table joins, can be
// put here.
return $data;
}