summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-16 03:47:14 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-16 03:47:14 +0000
commit1c7bca0b6f824dc99101802286a348dcfc71cd01 (patch)
tree04b48059bb095b0a25d9b9924e8176faedfbb9db /modules/taxonomy
parent92f5a844b25e7855691a9338f9466e8f5c9a07af (diff)
downloadbrdo-1c7bca0b6f824dc99101802286a348dcfc71cd01.tar.gz
brdo-1c7bca0b6f824dc99101802286a348dcfc71cd01.tar.bz2
#605442 by catch: Add a generic hook_entity_load().
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test
index 36fbcabec..e7b41599c 100644
--- a/modules/taxonomy/taxonomy.test
+++ b/modules/taxonomy/taxonomy.test
@@ -757,7 +757,7 @@ class TaxonomyTermFieldTestCase extends TaxonomyWebTestCase {
$this->assertRaw(t('test_entity @id has been created.', array('@id' => $id)), t('Entity was created'));
// Display the object.
- $entity = field_test_entity_load($id);
+ $entity = field_test_entity_test_load($id);
$entities = array($id => $entity);
field_attach_prepare_view($entity_type, $entities, 'full');
$entity->content = field_attach_view($entity_type, $entity);