OperationItemViewsData.php in GatherContent 8.3
File
src/Entity/OperationItemViewsData.php
View source
<?php
namespace Drupal\gathercontent\Entity;
use Drupal\views\EntityViewsData;
use Drupal\views\EntityViewsDataInterface;
class OperationItemViewsData extends EntityViewsData implements EntityViewsDataInterface {
public function getViewsData() {
$data = parent::getViewsData();
$data['gathercontent_operation_item']['table']['base'] = [
'field' => 'id',
'title' => $this
->t('Gathercontent operation item'),
'help' => $this
->t('The Gathercontent operation item ID.'),
];
return $data;
}
}