function ViewsConfigEntityTestViewsData::getViewsTableForEntityType
@inheritDoc
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.
Return value
string The name of the base table in views.
Overrides EntityViewsDataInterface::getViewsTableForEntityType
File
-
core/
modules/ views/ tests/ modules/ views_config_entity_test/ src/ ViewsConfigEntityTestViewsData.php, line 23
Class
- ViewsConfigEntityTestViewsData
- Provides a view to override views data for config test entity types.
Namespace
Drupal\views_config_entity_testCode
public function getViewsTableForEntityType(EntityTypeInterface $entity_type) {
return 'views_config_entity_test';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.