diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php index 9899403..df84f98 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php @@ -1318,7 +1318,7 @@ public function query($get_count = FALSE) { // Make sure each entity table has the base field added so that the // entities can be loaded. - $entity_tables = $this->get_entity_tables(); + $entity_tables = $this->getEntityTables(); if ($entity_tables) { $params = array(); if ($groupby) { @@ -1537,7 +1537,7 @@ function execute(ViewExecutable $view) { * @return array * An array of table information, keyed by table alias. */ - function get_entity_tables() { + public function getEntityTables() { // Start with the base table. $entity_tables = array(); $views_data = Views::viewsData(); @@ -1582,7 +1582,7 @@ function get_entity_tables() { * $result->_relationship_entities[$relationship_id]; */ function loadEntities(&$results) { - $entity_tables = $this->get_entity_tables(); + $entity_tables = $this->getEntityTables(); // No entity tables found, nothing else to do here. if (empty($entity_tables)) { return;