You are here

public static function RulesHookHandler::hookRulesEventInfo in Node expire 7.2

Implements hook_rules_event_info().

1 call to RulesHookHandler::hookRulesEventInfo()
node_expire_rules_event_info in ./node_expire.rules.inc
Implements hook_rules_event_info().

File

src/Module/Hook/RulesHookHandler.php, line 84
RulesHookHandler class.

Class

RulesHookHandler
RulesHookHandler class.

Namespace

Drupal\node_expire\Module\Hook

Code

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