function node_save_action

Saves a node.

Parameters

$node: The node to be saved.

Related topics

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.