You are here

public function ScheduleViewsData::getViewsData in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Entity/ScheduleViewsData.php \Drupal\business_rules\Entity\ScheduleViewsData::getViewsData()

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

src/Entity/ScheduleViewsData.php, line 15

Class

ScheduleViewsData
Provides Views data for Schedule entities.

Namespace

Drupal\business_rules\Entity

Code

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

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