- Patch #664076 by nvanhove, int: fixed hook_entity_load() documentation example.

merge-requests/26/head
Dries Buytaert 2009-12-31 13:22:35 +00:00
parent a0f3abf035
commit 5674b54fd3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}