node_save_action

Versions
6 – 7
node_save_action($node)

Implementation of a Drupal action. Saves a node.

Code

modules/node/node.module, line 2666

<?php
function node_save_action($node) {
  node_save($node);
  watchdog('action', 'Saved @type %title', array('@type' => node_get_types('name', $node), '%title' => $node->title));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.