function entity_test_mul_load

Loads a test entity.

Parameters

int $id: A test entity ID.

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

Return value

\Drupal\entity_test\Plugin\Core\Entity\EntityTestMul The loaded entity object, or FALSE if the entity cannot be loaded.

1 call to entity_test_mul_load()
EntityTranslationSyncImageTest::saveEntity in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationSyncImageTest.php
Saves the passed entity and reloads it, enabling compatibility mode.

File

drupal/core/modules/system/tests/modules/entity_test/entity_test.module, line 318
Test module for the entity API providing several entity types for testing.

Code

function entity_test_mul_load($id, $reset = FALSE) {
  return entity_load('entity_test_mul', $id, $reset);
}