1 node.module node_delete_multiple($nids)

Deletes multiple nodes.

Parameters

$nids: An array of node IDs.

See also

hook_node_predelete()

hook_node_delete()

File

core/modules/node/node.module, line 1075
The core module that allows content to be submitted to the site.

Code

function node_delete_multiple($nids) {
  entity_delete_multiple('node', $nids);
}