Commit aeffeda1 authored by alexpott's avatar alexpott

Issue #2002886 by bojanz: Rename Views method load_entities() to loadEntities().

parent 411dc59a
......@@ -167,7 +167,7 @@ function set_group_operator($type = 'AND') {
*
* Query plugins that don't support entities can leave the method empty.
*/
function load_entities(&$results) {}
function loadEntities(&$results) {}
/**
* Returns a Unix timestamp to database native timestamp expression.
......
......@@ -1504,7 +1504,7 @@ function execute(ViewExecutable $view) {
}
// Load all entities contained in the results.
$this->load_entities($view->result);
$this->loadEntities($view->result);
}
catch (DatabaseExceptionWrapper $e) {
$view->result = array();
......@@ -1581,7 +1581,7 @@ function get_entity_tables() {
* $result->_entity. Otherwise, it gets stored in
* $result->_relationship_entities[$relationship_id];
*/
function load_entities(&$results) {
function loadEntities(&$results) {
$entity_tables = $this->get_entity_tables();
// No entity tables found, nothing else to do here.
if (empty($entity_tables)) {
......
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