function EntityViewsDataInterface::getViewsTableForEntityType
Same name in other branches
- 8.9.x core/modules/views/src/EntityViewsDataInterface.php \Drupal\views\EntityViewsDataInterface::getViewsTableForEntityType()
- 10 core/modules/views/src/EntityViewsDataInterface.php \Drupal\views\EntityViewsDataInterface::getViewsTableForEntityType()
- 11.x core/modules/views/src/EntityViewsDataInterface.php \Drupal\views\EntityViewsDataInterface::getViewsTableForEntityType()
Gets the table of an entity type to be used as base table in views.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.
Return value
string The name of the base table in views.
2 methods override EntityViewsDataInterface::getViewsTableForEntityType()
- EntityViewsData::getViewsTableForEntityType in core/
modules/ views/ src/ EntityViewsData.php - Gets the table of an entity type to be used as base table in views.
- ViewsConfigEntityTestViewsData::getViewsTableForEntityType in core/
modules/ views/ tests/ modules/ views_config_entity_test/ src/ ViewsConfigEntityTestViewsData.php - Gets the table of an entity type to be used as base table in views.
File
-
core/
modules/ views/ src/ EntityViewsDataInterface.php, line 29
Class
- EntityViewsDataInterface
- Provides an interface to integrate an entity type with views.
Namespace
Drupal\viewsCode
public function getViewsTableForEntityType(EntityTypeInterface $entity_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.