function rules_rules_core_evaluator_info

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

See also

rules_core_modules()

Related topics

File

modules/rules_core.rules.inc, line 190

Code

function rules_rules_core_evaluator_info() {
    return array(
        // Process strtotime() inputs to timestamps.
'date' => array(
            'class' => 'RulesDateInputEvaluator',
            'type' => 'date',
            'weight' => -10,
        ),
        // Post-process any input value to absolute URIs.
'uri' => array(
            'class' => 'RulesURIInputEvaluator',
            'type' => 'uri',
            'weight' => 50,
        ),
    );
}