Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function node_save_action

Saves a node.

Parameters

$node: The node to be saved.

Related topics

Actions
Functions that perform an action on a certain system object.

File

modules/node/node.module, line 3964

Code

function node_save_action ($node) {
 node_save ($node);
 watchdog ('action', 'Saved @type %title', array(
 '@type' => node_type_get_name ($node),
 '%title' => $node->title ,
 ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.