You are here

function node_accessibility_rules_event_info in Node Accessibility 7

Implements hook_rules_event_info() on behalf of the node module.

File

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

Code

function node_accessibility_rules_event_info() {
  $items = array(
    'node_accessibility_after_validating' => array(
      'label' => t("After accessibility validating content"),
      'group' => t("Node"),
      'variables' => rules_events_node_variables(t("Accessibility validated content"), FALSE),
      'access callback' => 'rules_node_integration_access',
    ),
  );
  $items['node_accessibility_after_validating']['variables']['validation_results'] = array(
    'type' => 'unknown',
    'label' => t("Validation results"),
  );
  return $items;
}