You are here

function rules_test_rules_condition_info in Rules 6

Same name and namespace in other branches
  1. 7.2 tests/rules_test.rules.inc \rules_test_rules_condition_info()

Implementation of hook_rules_condition_info

File

rules_test/rules_test.rules.inc, line 11
Define some conditions and actions, used by the tests

Code

function rules_test_rules_condition_info() {
  return array(
    'rules_test_condition_alter_arg' => array(
      'label' => 'Alter data',
      'arguments' => array(
        'rules_test' => array(
          'type' => 'rules_test',
          'label' => 'test',
        ),
      ),
      'hidden' => TRUE,
    ),
    'rules_test_condition_check_for_altered_arg' => array(
      'label' => 'Check for altered data',
      'arguments' => array(
        'rules_test' => array(
          'type' => 'rules_test',
          'label' => 'test',
        ),
      ),
      'hidden' => TRUE,
    ),
  );
}