function node_save_action in Drupal 6
Same name and namespace in other branches
- 7 modules/node/node.module \node_save_action()
Implementation of a Drupal action. Saves a node.
1 string reference to 'node_save_action'
- trigger_assign_form_submit in modules/
trigger/ trigger.admin.inc - Submit function for trigger_assign_form().
File
- modules/
node/ node.module, line 2692 - The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.
Code
function node_save_action($node) {
node_save($node);
watchdog('action', 'Saved @type %title', array(
'@type' => node_get_types('name', $node),
'%title' => $node->title,
));
}