You are here

function node_accessibility_delete_rules_action in Node Accessibility 7

Action: Delete accessibility validation statistics for a node.

$param object $node A node object.

1 string reference to 'node_accessibility_delete_rules_action'
node_accessibility_rules_action_info in ./node_accessibility.rules.inc
Implements hook_rules_action_info() on behalf of the node module.

File

./node_accessibility.rules.inc, line 112
Rules integration file for node accessibility.

Code

function node_accessibility_delete_rules_action($node) {
  if (!is_object($node)) {
    if (class_exists('cf_error')) {
      cf_error::invalid_object('node');
    }
    return array(
      'node' => $node,
    );
  }
  actions_do('node_accessibility_delete_action', $node);
  return array(
    'node' => $node,
  );
}