| Versionen | |
|---|---|
| drupal6 – drupal7 | node_save_action($node) |
Implementation of a Drupal action. Saves a node.
modules/
<?php
function node_save_action($node) {
node_save($node);
watchdog('action', 'Saved @type %title', array('@type' => node_get_types('name', $node), '%title' => $node->title));
}
?>
Kommentare
Kommentar hinzufügen