You are here

function rules_rules_core_evaluator_info in Rules 7.2

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
Rules integration with Drupal core.

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,
    ),
  );
}