From 708e3c9ace292b1a49e724d9d97a2af5f55b2002 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 30 May 2013 00:44:07 +0100 Subject: [PATCH] Issue #2002908 by bdone, lokapujya: Rename Views method get_entity_tables() to getEntityTables(). --- .../views/lib/Drupal/views/Plugin/views/query/Sql.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 f01537d3f33..c1b5a1235ea 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 @@ -1320,7 +1320,7 @@ class Sql extends QueryPluginBase { // 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) { @@ -1539,7 +1539,7 @@ class Sql extends QueryPluginBase { * @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(); @@ -1584,7 +1584,7 @@ class Sql extends QueryPluginBase { * $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;