class ViewsConfigEntityTestViewsData
Same name in other branches
- 9 core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php \Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData
- 8.9.x core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php \Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData
- 11.x core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php \Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData
Provides a view to override views data for config test entity types.
Hierarchy
- class \Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData implements \Drupal\views\EntityViewsDataInterface
Expanded class hierarchy of ViewsConfigEntityTestViewsData
File
-
core/
modules/ views/ tests/ modules/ views_config_entity_test/ src/ ViewsConfigEntityTestViewsData.php, line 11
Namespace
Drupal\views_config_entity_testView source
class ViewsConfigEntityTestViewsData implements EntityViewsDataInterface {
/**
* {@inheritdoc}
*/
public function getViewsData() {
return [];
}
/**
* {@inheritdoc}
*/
public function getViewsTableForEntityType(EntityTypeInterface $entity_type) {
return 'views_config_entity_test';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
ViewsConfigEntityTestViewsData::getViewsData | public | function | Returns views data for the entity type. | Overrides EntityViewsDataInterface::getViewsData |
ViewsConfigEntityTestViewsData::getViewsTableForEntityType | public | function | Gets the table of an entity type to be used as base table in views. | Overrides EntityViewsDataInterface::getViewsTableForEntityType |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.