public function MaestroProductionAssignmentsViewsData::getViewsData in Maestro 8.2
Same name and namespace in other branches
- 3.x src/Entity/MaestroProductionAssignmentsViewsData.php \Drupal\maestro\Entity\MaestroProductionAssignmentsViewsData::getViewsData()
Returns views data for the entity type.
Return value
array Views data in the format of hook_views_data().
Overrides EntityViewsData::getViewsData
File
- src/
Entity/ MaestroProductionAssignmentsViewsData.php, line 16
Class
- MaestroProductionAssignmentsViewsData
- Provides Views data for the Maestro Production Assignments Entity.
Namespace
Drupal\maestro\EntityCode
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;
}