public function FlaggingCollectionViewsData::getViewsData in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Entity/FlaggingCollectionViewsData.php \Drupal\flag_lists\Entity\FlaggingCollectionViewsData::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/ FlaggingCollectionViewsData.php, line 15
Class
- FlaggingCollectionViewsData
- Provides Views data for Flagging collection entities.
Namespace
Drupal\flag_lists\EntityCode
public function getViewsData() {
$data = parent::getViewsData();
// Additional information for Views integration, such as table joins, can be
// put here.
return $data;
}