public function SplashifyGroupEntityViewsData::getViewsData in Splashify 8.2
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/ SplashifyGroupEntityViewsData.php, line 16
Class
- SplashifyGroupEntityViewsData
- Provides Views data for Splashify group entity entities.
Namespace
Drupal\splashify\EntityCode
public function getViewsData() {
$data = parent::getViewsData();
$data['splashify_group_entity']['table']['base'] = array(
'field' => 'id',
'title' => $this
->t('Splashify group entity'),
'help' => $this
->t('The Splashify group entity ID.'),
);
return $data;
}