You are here

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

Class

PersonaViewsData
Provides Views data for Persona entities.

Namespace

Drupal\pm_persona\Entity

Code

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

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