You are here

function node_expire_rules_event_info in Node expire 8

Same name and namespace in other branches
  1. 6.2 node_expire.rules.inc \node_expire_rules_event_info()
  2. 7.2 node_expire.rules.inc \node_expire_rules_event_info()
  3. 7 node_expire.rules.inc \node_expire_rules_event_info()

Implements hook_rules_event_info().

File

./node_expire.rules.inc, line 77
Rules module integration.

Code

function node_expire_rules_event_info() {
  $events['node_expired'] = array(
    'label' => t('content expired'),
    'group' => t('Node'),
    'variables' => array(
      'node' => array(
        'type' => 'node',
        'label' => t('Node'),
      ),
    ),
  );
  return $events;
}