diff --git a/core/modules/views/src/EntityViewsData.php b/core/modules/views/src/EntityViewsData.php
index 5cd3215..912141b 100644
--- a/core/modules/views/src/EntityViewsData.php
+++ b/core/modules/views/src/EntityViewsData.php
@@ -550,15 +550,9 @@ protected function processViewsDataForUuid($table, FieldDefinitionInterface $fie
   }
 
   /**
-   * Gets the table of an entity type to be used as base table in views.
-   *
-   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
-   *   The entity type.
-   *
-   * @return string
-   *   The name of the base table in views.
+   * {@inheritdoc}
    */
-  protected function getViewsTableForEntityType(EntityTypeInterface $entity_type) {
+  public function getViewsTableForEntityType(EntityTypeInterface $entity_type) {
     return $entity_type->getDataTable() ?: $entity_type->getBaseTable();
   }
 
diff --git a/core/modules/views/src/EntityViewsDataInterface.php b/core/modules/views/src/EntityViewsDataInterface.php
index 65e9476..9971c8e 100644
--- a/core/modules/views/src/EntityViewsDataInterface.php
+++ b/core/modules/views/src/EntityViewsDataInterface.php
@@ -7,6 +7,8 @@
 
 namespace Drupal\views;
 
+use Drupal\Core\Entity\EntityTypeInterface;
+
 /**
  * Provides an interface to integrate an entity type with views.
  */
@@ -20,4 +22,15 @@
    */
   public function getViewsData();
 
+  /**
+   * Gets the table of an entity type to be used as base table in views.
+   *
+   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
+   *   The entity type.
+   *
+   * @return string
+   *   The name of the base table in views.
+   */
+  public function getViewsTableForEntityType(EntityTypeInterface $entity_type);
+
 }
