You are here

public function TaskViewsData::getViewsData in General Data Protection Regulation 8

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

modules/gdpr_tasks/src/Entity/TaskViewsData.php, line 15

Class

TaskViewsData
Provides Views data for Task entities.

Namespace

Drupal\gdpr_tasks\Entity

Code

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

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