You are here

function node_expire_rules_condition_info in Node expire 6.2

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

Implementation of hook_rules_condition_info().

File

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

Code

function node_expire_rules_condition_info() {
  return array(
    'node_expire_rules_expired_check' => array(
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Content'),
        ),
      ),
      'label' => t('Content is expired'),
      'help' => 'Evaluates to TRUE, if the given content has one of the selected content types.',
      'module' => 'Node',
    ),
    'node_expire_rules_expired_check_lastnotify' => array(
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Content'),
        ),
      ),
      'label' => t('Content is expired: Check lastnotify'),
      'help' => 'Evaluates to TRUE, if the given content is expired and lastnotified 2 weeks ago.',
      'module' => 'Node',
    ),
  );
}