_node_resource_delete

  1. services
    1. 7.3
    2. 7 node_resource.inc
    3. 6.2 node_resource.inc
    4. 6.3
Versions
7 – 6.3 _node_resource_delete($nid)

Delete a node given its nid.

Parameters

$nid Node ID of the node we're deleting.

Return value

The node's nid.

Code

resources/node_resource.inc, line 361

<?php
function _node_resource_delete($nid) {
  node_delete($nid);
  return TRUE;
}
?>