function node_save_action

Same name and namespace in other branches
  1. 7.x drupal-7.x/modules/node/node.module \node_save_action()

Implementation of a Drupal action. Saves a node.

2 string references to 'node_save_action'
node_action_info in drupal-6.x/modules/node/node.module
Implementation of hook_action_info().
trigger_assign_form_submit in drupal-6.x/modules/trigger/trigger.admin.inc
Submit function for trigger_assign_form().

Archivo

drupal-6.x/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.

Código

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