SplashifyGroupEntityViewsData.php in Splashify 8.2
File
src/Entity/SplashifyGroupEntityViewsData.php
View source
<?php
namespace Drupal\splashify\Entity;
use Drupal\views\EntityViewsData;
use Drupal\views\EntityViewsDataInterface;
class SplashifyGroupEntityViewsData extends EntityViewsData implements EntityViewsDataInterface {
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;
}
}