function rules_action_delete_node
Action "Delete a node".
1 string reference to 'rules_action_delete_node'
- RulesTriggerTestCase::createTestRule in tests/
rules.test - Helper function to create a test Rule.
File
-
tests/
rules_test.test.inc, line 54
Code
function rules_action_delete_node($node) {
node_delete($node->nid);
}