summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-31 13:22:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-31 13:22:35 +0000
commit5674b54fd3111023140ae615cb63d49609ae7951 (patch)
treed94fe6b1e13cb22aea1598d1f5b58f38ee46a393 /modules
parenta0f3abf03571bcb90e853d5d463f0d3e3b5753a7 (diff)
downloadbrdo-5674b54fd3111023140ae615cb63d49609ae7951.tar.gz
brdo-5674b54fd3111023140ae615cb63d49609ae7951.tar.bz2
- Patch #664076 by nvanhove, int: fixed hook_entity_load() documentation example.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.api.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}