From 5674b54fd3111023140ae615cb63d49609ae7951 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 31 Dec 2009 13:22:35 +0000 Subject: - Patch #664076 by nvanhove, int: fixed hook_entity_load() documentation example. --- modules/system/system.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.api.php') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 33f02b3c6..0ce9f5d9b 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -213,7 +213,7 @@ function hook_entity_info_alter(&$entity_info) { */ function hook_entity_load($entities, $type) { foreach ($entities as $entity) { - $entity->foo = mymodule_add_something($entity, $entity_type); + $entity->foo = mymodule_add_something($entity, $type); } } -- cgit v1.2.3