node_save_action

Definition

node_save_action($node)
modules/node/node.module, line 2650

Description

Implementation of a Drupal action. Saves a node.

Code

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

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.