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