function node_save_action
7.x node.module | node_save_action($node) |
6.x node.module | node_save_action($node) |
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().
File
- 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.
Code
function node_save_action($node) {
node_save($node);
watchdog('action', 'Saved @type %title', array('@type' => node_get_types('name', $node), '%title' => $node->title));
}