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