Search for loadEntities

  1. Search 7.x for loadEntities
  2. Search 9.5.x for loadEntities
  3. Search 10.3.x for loadEntities
  4. Search 11.x for loadEntities
  5. Other projects
Title Object type File name Summary
EntityResource::loadEntitiesWithAccess function core/modules/jsonapi/src/Controller/EntityResource.php Build a collection of the entities to respond with and access objects.
QueryPluginBase::loadEntities function core/modules/views/src/Plugin/views/query/QueryPluginBase.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];
Sql::loadEntities function 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];
SqlTest::testLoadEntitiesWithEmptyResult function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult
SqlTest::testLoadEntitiesWithNonEntityRelationship function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult
SqlTest::testLoadEntitiesWithNoRelationshipAndNoRevision function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult
SqlTest::testLoadEntitiesWithRelationship function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult
SqlTest::testLoadEntitiesWithRelationshipAndRevision function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult
SqlTest::testLoadEntitiesWithRevision function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult
SqlTest::testLoadEntitiesWithRevisionOfSameEntityType function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::loadEntities
@covers ::assignEntitiesToResult

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.