class ViewsConfigEntityTestViewsData in Drupal 9
Same name and namespace in other branches
- 8 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 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ViewsConfigEntityTestViewsData:: |
public | function |
Returns views data for the entity type. Overrides EntityViewsDataInterface:: |
|
ViewsConfigEntityTestViewsData:: |
public | function |
@inheritDoc Overrides EntityViewsDataInterface:: |