function node_delete

Deletes a node.


$nid: A node ID.

10 calls to node_delete()
CommentNodeChangesTestCase::testNodeDeletion in drupal/modules/comment/comment.test
Tests that comments are deleted with the node.
EntityCrudHookTestCase::testNodeHooks in drupal/modules/simpletest/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on nodes.
FileFieldWidgetTestCase::testPrivateFileSetting in drupal/modules/file/tests/file.test
Tests a file field with a "Private files" upload destination setting.
ListFieldUITestCase::testListAllowedValuesFloat in drupal/modules/field/modules/list/tests/list.test
List (float) : test 'allowed values' input.
ListFieldUITestCase::testListAllowedValuesInteger in drupal/modules/field/modules/list/tests/list.test
List (integer) : test 'allowed values' input.

... See full list

1 string reference to 'node_delete'
trigger_node_delete in drupal/modules/trigger/trigger.module
Implements hook_node_delete().


drupal/modules/node/node.module, line 1234
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.


function node_delete($nid) {