This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
2018-04-29 11:58:46 +00:00
|
|
|
<?php
|
|
|
|
|
2021-02-18 12:02:25 +00:00
|
|
|
namespace Drupal\opencase_cases\Entity;
|
2018-04-29 11:58:46 +00:00
|
|
|
|
|
|
|
use Drupal\views\EntityViewsData;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Provides Views data for Case entities.
|
|
|
|
*/
|
|
|
|
class OCCaseViewsData extends EntityViewsData {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* {@inheritdoc}
|
|
|
|
*/
|
|
|
|
public function getViewsData() {
|
|
|
|
$data = parent::getViewsData();
|
|
|
|
|
|
|
|
// Additional information for Views integration, such as table joins, can be
|
|
|
|
// put here.
|
|
|
|
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|