public function HomeboxLayoutViewsData::getViewsData in Homebox 8
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/ HomeboxLayoutViewsData.php, line 15
Class
- HomeboxLayoutViewsData
- Provides Views data for Homebox Layout entities.
Namespace
Drupal\homebox\EntityCode
public function getViewsData() {
$data = parent::getViewsData();
// @todo Unused class?
// Additional information for Views integration, such as table joins,
// can be put here.
return $data;
}