function QueryPluginBase::loadEntities in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\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 core/
modules/ views/ src/ 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
- core/
modules/ views/ src/ Plugin/ views/ query/ QueryPluginBase.php, line 207 - Contains \Drupal\views\Plugin\views\query\QueryPluginBase.
Class
- QueryPluginBase
- Base plugin class for Views queries.
Namespace
Drupal\views\Plugin\views\queryCode
function loadEntities(&$results) {
}