function EntityViewsData::getViewsTableForEntityType
Same name in other branches
- 8.9.x core/modules/views/src/EntityViewsData.php \Drupal\views\EntityViewsData::getViewsTableForEntityType()
- 10 core/modules/views/src/EntityViewsData.php \Drupal\views\EntityViewsData::getViewsTableForEntityType()
- 11.x core/modules/views/src/EntityViewsData.php \Drupal\views\EntityViewsData::getViewsTableForEntityType()
Overrides EntityViewsDataInterface::getViewsTableForEntityType
1 call to EntityViewsData::getViewsTableForEntityType()
- EntityViewsData::processViewsDataForEntityReference in core/
modules/ views/ src/ EntityViewsData.php - Processes the views data for an entity reference field.
File
-
core/
modules/ views/ src/ EntityViewsData.php, line 704
Class
- EntityViewsData
- Provides generic views integration for entities.
Namespace
Drupal\viewsCode
public function getViewsTableForEntityType(EntityTypeInterface $entity_type) {
return $entity_type->getDataTable() ?: $entity_type->getBaseTable();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.