summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-15 03:39:42 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-15 03:39:42 +0000
commit71c4e3ec62427e562965561f5a7b13aa64737595 (patch)
tree312ab891d1692d08008ab3bb20a8bb22f44d1f06 /modules/node/node.module
parent0afbd86d32a94c3b11c6cbe4204e66d8cfa1da3a (diff)
downloadbrdo-71c4e3ec62427e562965561f5a7b13aa64737595.tar.gz
brdo-71c4e3ec62427e562965561f5a7b13aa64737595.tar.bz2
#968458 by Dave Reid, sun, fago: Add Missing hook_entity_presave().
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 68b33781d..f52823c31 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1058,6 +1058,7 @@ function node_save($node) {
// Let modules modify the node before it is saved to the database.
module_invoke_all('node_presave', $node);
+ module_invoke_all('entity_presave', $node, 'node');
if ($node->is_new || !empty($node->revision)) {
// When inserting either a new node or a new node revision, $node->log