MaestroProductionAssignmentsViewsData.php in Maestro 8.2
File
src/Entity/MaestroProductionAssignmentsViewsData.php
View source
<?php
namespace Drupal\maestro\Entity;
use Drupal\views\EntityViewsData;
use Drupal\views\EntityViewsDataInterface;
class MaestroProductionAssignmentsViewsData extends EntityViewsData implements EntityViewsDataInterface {
public function getViewsData() {
$data = parent::getViewsData();
$data['maestro_production_assignments']['table']['base'] = [
'field' => 'id',
'title' => $this
->t('Maestro Producion Assignments'),
'help' => $this
->t('The Maestro Production Assignments entity ID.'),
];
return $data;
}
}