You are here

class ViewsConfigEntityTestViewsData in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/modules/views_config_entity_test/src/ViewsConfigEntityTestViewsData.php \Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData
  2. 9 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

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_test
View source
class ViewsConfigEntityTestViewsData implements EntityViewsDataInterface {

  /**
   * {@inheritdoc}
   */
  public function getViewsData() {
    return [];
  }

  /**
   * @inheritDoc
   */
  public function getViewsTableForEntityType(EntityTypeInterface $entity_type) {
    return 'views_config_entity_test';
  }

}

Members