You are here

function title_test_entity_test_load in Title 7

Load the given test entity.

1 call to title_test_entity_test_load()
TitleFieldReplacementTestCase::testFieldReplacementWorkflow in tests/TitleFieldReplacementTestCase.test
Test field replacement API and workflow.

File

tests/title_test.module, line 64
Testing functionality for Title module.

Code

function title_test_entity_test_load($entity) {
  $entity = field_test_entity_test_load($entity->ftid);

  // field_test_entity_load does not invoke hook_entity_load().
  module_invoke_all('entity_load', array(
    $entity,
  ), 'test_entity');
  return $entity;
}