function rules_rules_core_data_processor_info

Implements hook_rules_data_processor_info() on behalf of the pseudo rules_core module.

See also

rules_core_modules()

Related topics

File

modules/rules_core.rules.inc, line 213

Code

function rules_rules_core_data_processor_info() {
  return array(
    'date_offset' => array(
      'class' => 'RulesDateOffsetProcessor',
      'type' => 'date',
      'weight' => -2,
    ),
    'num_offset' => array(
      'class' => 'RulesNumericOffsetProcessor',
      'type' => array(
        'integer',
        'decimal',
      ),
      'weight' => -2,
    ),
  );
}