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