Warning: Parameter 1 to panelizer_entity_load() expected to be a reference, value given in /var/www/d7/includes/module.inc on line 819
hook_entity_load() doesn't pass by reference, and saying it does breaks the call to it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | webform_entity-1524730-2.patch | 711 bytes | tim.plunkett |
| panelizer-entity_load.patch | 519 bytes | tim.plunkett |
Comments
Comment #1
tim.plunkettComment #2
tim.plunkettIt's not documented, but core goes out of its way to not use module_invoke_all so that $entities can be passed by reference.
See http://api.drupal.org/api/drupal/includes%21entity.inc/function/DrupalDe...
Comment #3
tim.plunkettOpened #1524770: hook_entity_load() can pass $entities by reference as well.
Comment #4
tizzo commentedLooks good, commit away!
Comment #5
tim.plunkettCommitted and pushed to both branches.
http://drupalcode.org/project/webform_entity.git/commit/51d78d5
http://drupalcode.org/project/webform_entity.git/commit/6921950