function QueryPluginBase::loadEntities

Loads all entities contained in the passed-in $results. . If the entity belongs to the base table, then it gets stored in $result->_entity. Otherwise, it gets stored in $result->_relationship_entities[$relationship_id];

Query plugins that don't support entities can leave the method empty.

1 method overrides QueryPluginBase::loadEntities()
Sql::loadEntities in drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
Loads all entities contained in the passed-in $results. . If the entity belongs to the base table, then it gets stored in $result->_entity. Otherwise, it gets stored in $result->_relationship_entities[$relationship_id];

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php, line 170
Definition of Drupal\views\Plugin\views\query\QueryPluginBase.

Class

QueryPluginBase
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

function loadEntities(&$results) {
}