You are here

function rb_cck_rules_condition_info in Rules Bonus Pack 6

Implementation of hook_rules_condition_info().

File

./rb_cck.module, line 11
Functions for extending CCK field management with Rules.

Code

function rb_cck_rules_condition_info() {
  return array(
    'rb_cck_condition_in_multiple' => array(
      'label' => t('Field value is one of several'),
      'module' => 'Rules Bonus: CCK',
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Node to check'),
        ),
      ),
    ),
    'rb_cck_condition_has_content' => array(
      'label' => t('Field has content'),
      'module' => 'Rules Bonus: CCK',
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Node to check'),
        ),
      ),
    ),
  );
}