Commit 708e3c9a authored by alexpott's avatar alexpott
Browse files

Issue #2002908 by bdone, lokapujya: Rename Views method get_entity_tables() to getEntityTables().

parent 18fad647
......@@ -1320,7 +1320,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) {
......@@ -1539,7 +1539,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();
......@@ -1584,7 +1584,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment