25 lines
420 B
PHP
25 lines
420 B
PHP
<?php
|
|
|
|
namespace Drupal\opencase_entities\Entity;
|
|
|
|
use Drupal\views\EntityViewsData;
|
|
|
|
/**
|
|
* Provides Views data for Activity entities.
|
|
*/
|
|
class OCActivityViewsData extends EntityViewsData {
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getViewsData() {
|
|
$data = parent::getViewsData();
|
|
|
|
// Additional information for Views integration, such as table joins, can be
|
|
// put here.
|
|
|
|
return $data;
|
|
}
|
|
|
|
}
|