function rules_action_delete_node in Rules 7.2
Same name and namespace in other branches
- 6 rules/modules/node.rules.inc \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 - Include file for testing file inclusion.
Code
function rules_action_delete_node($node) {
node_delete($node->nid);
}