You are here

function conditional_fields_rules_condition_info in Conditional Fields 6.2

Implementation of hook_rules_condition_info().

File

includes/conditional_fields.rules.inc, line 11
Rules condition for conditional fields

Code

function conditional_fields_rules_condition_info() {
  return array(
    'conditional_fields_rules_condition_is_triggered' => array(
      'label' => t('Controlled field is triggered'),
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Node'),
        ),
      ),
      'help' => t('Make sure that the field you select is a controlled field. If not, the condition will always return FALSE.'),
      'module' => 'CCK',
    ),
  );
}