function node_save_action

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

Saves a node.

Parameters

$node: The node to be saved.

Related topics

5 string references to 'node_save_action'
drupal-6.bare.database.php in drupal-7.x/modules/simpletest/tests/upgrade/drupal-6.bare.database.php
Bare installation of Drupal 6.17, for test purposes.
drupal-6.filled.database.php in drupal-7.x/modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
drupal-6.trigger.database.php in drupal-7.x/modules/simpletest/tests/upgrade/drupal-6.trigger.database.php
Test content for the trigger upgrade path.
drupal-7.trigger.database.php in drupal-7.x/modules/simpletest/tests/upgrade/drupal-7.trigger.database.php
Test content for the trigger upgrade path.
node_action_info in drupal-7.x/modules/node/node.module
Implements hook_action_info().

Archivo

drupal-7.x/modules/node/node.module, line 3939
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_type_get_name($node), '%title' => $node->title));
}