25 lines
412 B
PHP
25 lines
412 B
PHP
|
<?php
|
||
|
|
||
|
namespace Drupal\opencase_entities\Entity;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
}
|