Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5674b54f
Commit
5674b54f
authored
Dec 31, 2009
by
Dries
Browse files
- Patch
#664076
by nvanhove, int: fixed hook_entity_load() documentation example.
parent
a0f3abf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.api.php
View file @
5674b54f
...
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment