function entity_test_load_multiple

Loads multiple test entities based on certain conditions.

Parameters

array $ids: (optional) An array of entity IDs. If omitted, all entities are loaded.

bool $reset: A boolean indicating that the internal cache should be reset.

Return value

array An array of test entity objects, indexed by ID.

2 calls to entity_test_load_multiple()
EntityApiTest::testCRUD in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiTest.php
Tests basic CRUD functionality of the Entity API.
EntityTranslationTest::testMultilingualProperties in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
Tests multilingual properties.

File

drupal/core/modules/system/tests/modules/entity_test/entity_test.module, line 129
Test module for the entity API providing an entity type for testing.

Code

function entity_test_load_multiple(array $ids = NULL, $reset = FALSE) {
  return entity_load_multiple('entity_test', $ids, $reset);
}