function rules_i18n_rules_evaluator_info

Implements hook_rules_evaluator_info().

File

rules_i18n/rules_i18n.rules.inc, line 114

Code

function rules_i18n_rules_evaluator_info() {
    return array(
        'i18n' => array(
            'class' => 'RulesI18nStringEvaluator',
            'type' => array(
                'text',
                'list<text>',
                'token',
                'list<token>',
            ),
            // Be sure to translate after doing PHP evaluation.
'weight' => -8,
        ),
    );
}