You are here

function node_expire_rules_action_info in Node expire 8

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

Implements hook_rules_action_info().

File

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

Code

function node_expire_rules_action_info() {
  return array(
    'node_expire_unset_expired' => array(
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('content expired'),
        ),
      ),
      'label' => t('Unset the expired flag'),
      'module' => 'node_expire',
    ),
    'node_expire_update_lastnotify' => array(
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('content expired'),
        ),
      ),
      'label' => t('Update lastnotify'),
      'module' => 'node_expire',
    ),
  );
}