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