node_save_action
- Versions
- 6 – 7
node_save_action($node)
Implement a Drupal action. Saves a node.
Code
modules/node/node.module, line 3101
<?php
function node_save_action($node) {
node_save($node);
watchdog('action', 'Saved @type %title', array('@type' => node_type_get_name($node), '%title' => $node->title[LANGUAGE_NONE][0]['value']));
}
?>Login or register to post comments 