diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php index e78516d..a5d583e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php @@ -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. 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 3f7c8bd..708cdb2 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 @@ -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)) {